Skip to content

RushDuel.Recover ​

Alias: RD.Recover. Requires the matching Rush Duel Lua bootstrap.

Signature ​

lua
RushDuel.Recover(any player, any recover) -> any

Description ​

Rush Duel helper declared in RDTarget.lua. Its argument names are extracted from the pinned source; parameter and return types have not yet been reviewed.

Upstream source comment ​

text
对玩家效果: 恢复 - 结算

Parameters ​

  • player any: Type and behavior are not yet reviewed; see the source.
  • recover any: Type and behavior are not yet reviewed; see the source.

Returns ​

  • any: Return contract has not been reviewed; inspect the source below.

Source ​

Rush/Utilities/RDTarget.lua:39

lua
function RushDuel.Recover(player, recover)
    local p, d = Duel.GetChainInfo(0, CHAININFO_TARGET_PLAYER, CHAININFO_TARGET_PARAM)
    return Duel.Recover(player or p, recover or d, REASON_EFFECT)
end

Used By ​

Generated from the local Rush/Scripts/ folder and rush_cards.cdb.

  • Detected in 36 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.Recover.
CardIDScriptDetected Calls
Grace Princess Kaori120287018Rush/Scripts/c120287018.lua1
Prime Dian Keto120257007Rush/Scripts/c120257007.lua1
CAN:D LIVE120199035Rush/Scripts/c120199035.lua1
Dian Keto the Food Prodigy120260064Rush/Scripts/c120260064.lua1
Wooly Wonderland Wave Schaf120222026Rush/Scripts/c120222026.lua1
Lifeline Linac120244058Rush/Scripts/c120244058.lua1
Healthie Elizalamilla120306041Rush/Scripts/c120306041.lua1
Cosmic Sucker120294021Rush/Scripts/c120294021.lua1
Master's Cure120217068Rush/Scripts/c120217068.lua1
Phoenix Dragoon120252008Rush/Scripts/c120252008.lua1
Requesting 9120199061Rush/Scripts/c120199061.lua1
Towline Cattle Healer120290026Rush/Scripts/c120290026.lua1
Abysskite Mapping120257052Rush/Scripts/c120257052.lua1
Chemical Cure Red120196031Rush/Scripts/c120196031.lua1
Dian Keto the Cleaning Prodigy120260065Rush/Scripts/c120260065.lua1
Chemipet Purr120249009Rush/Scripts/c120249009.lua1
Offering to Isyria120300047Rush/Scripts/c120300047.lua1
Draco the Doctor120294003Rush/Scripts/c120294003.lua1
Chemical Cure Blue120155017Rush/Scripts/c120155017.lua1
Double-Doom Dragon120235011Rush/Scripts/c120235011.lua1
Hungry Softserve120290019Rush/Scripts/c120290019.lua1
Excutie Plawtie120231037Rush/Scripts/c120231037.lua1
Party Up120217067Rush/Scripts/c120217067.lua1
Hydration120170047Rush/Scripts/c120170047.lua1
...and 12 more

Script Examples ​

Grace Princess Kaori (120287018) ​

Source: Rush/Scripts/c120287018.lua

lua
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
	if RD.Recover()~=0 then
		RD.CanSelectAndDoAction(aux.Stringid(m,2),HINTMSG_ATOHAND,aux.NecroValleyFilter(cm.thfilter),tp,LOCATION_GRAVE,0,1,1,nil,function(g)
			Duel.BreakEffect()

Prime Dian Keto (120257007) ​

Source: Rush/Scripts/c120257007.lua

lua
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
	if RD.Recover()~=0 then
		local c=e:GetHandler()
		if c:IsFaceup() and c:IsRelateToEffect(e) then

CAN:D LIVE (120199035) ​

Source: Rush/Scripts/c120199035.lua

lua
end
function cm.operation2(e,tp,eg,ep,ev,re,r,rp)
	if RD.Recover()~=0 then
		RD.CanSelectAndSpecialSummon(aux.Stringid(m,4),aux.NecroValleyFilter(cm.spfilter),tp,LOCATION_GRAVE,0,1,1,nil,e,POS_FACEUP,true)
	end