Closed Lyris12 closed 10 months ago
How about adding new parameter to Duel.CheckReleaseGroup
, Duel.CheckReleaseGroupEx
?
For example:
---@return boolean
---@param reason integer
---@param player integer
---@param f function|nil
---@param count integer
---@param ex Card|Group|nil
---@param ... any
function Duel.CheckReleaseGroup(reason,player,f,count,ex,...) end
How about adding new parameter to
Duel.CheckReleaseGroup
,Duel.CheckReleaseGroupEx
?For example:
---@return boolean ---@param reason integer ---@param player integer ---@param f function|nil ---@param count integer ---@param ex Card|Group|nil ---@param ... any function Duel.CheckReleaseGroup(reason,player,f,count,ex,...) end
That does not cover cards using only Duel.GetReleaseGroup
for their costs. Take a look at the scripts for "The Hex Sealed Fusion" cards, for example, and at https://github.com/Fluorohydride/ygopro-pre-script/pull/1237 .
Thank you!
To-do-list:
Is there anything else?
I think we can change these functions.
Not sure what the must_param
is for, but that works for me, too!
...PROVIDED the scripts are updated accordingly, 1st.
Not sure what the
must_param
is for, but that works for me, too!
The number of necessary parameters.
Not sure what the
must_param
is for, but that works for me, too!The number of necessary parameters.
Ah, gotcha! Thanks!
Since it is fixed in #516, this PR will be closed. Thank you for your help.
for
Ritual Beast Ulti-Reirautari
(聖霊獣騎 レイラウタリ
):