Skip to content

RushDuel.CostSendMZoneToGrave ​

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

Signature ​

lua
RushDuel.CostSendMZoneToGrave(any filter, any min, any max, any except_self, any set_label_before, any set_object_before, any set_label_after, any set_object_after) -> any

Description ​

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

Upstream source comment ​

text
代价: 把怪兽送去墓地

Parameters ​

  • filter any: Type and behavior are not yet reviewed; see the source.
  • min any: Type and behavior are not yet reviewed; see the source.
  • max any: Type and behavior are not yet reviewed; see the source.
  • except_self any: Type and behavior are not yet reviewed; see the source.
  • set_label_before any: Type and behavior are not yet reviewed; see the source.
  • set_object_before any: Type and behavior are not yet reviewed; see the source.
  • set_label_after any: Type and behavior are not yet reviewed; see the source.
  • set_object_after 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/RDCost.lua:313

lua
function RushDuel.CostSendMZoneToGrave(filter, min, max, except_self, set_label_before, set_object_before,
    set_label_after, set_object_after)
    return RushDuel.CostSendMatchToGrave(filter, LOCATION_MZONE, min, max, except_self, false, false, set_label_before,
        set_object_before, set_label_after, set_object_after)
end

Used By ​

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

  • Detected in 68 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.CostSendMZoneToGrave.
CardIDScriptDetected Calls
Nativity of the Monarchs120244063Rush/Scripts/c120244063.lua1
Star Protector's Protection120253065Rush/Scripts/c120253065.lua1
Dark Renewal120285066Rush/Scripts/c120285066.lua1
Necromaid Trickment120294063Rush/Scripts/c120294063.lua1
Star Protector Recapture120306063Rush/Scripts/c120306063.lua1
Voidvelg Kyrie120244006Rush/Scripts/c120244006.lua1
Multiple Adapter Unit120231030Rush/Scripts/c120231030.lua1
Heavy Cavalry Tactics120155046Rush/Scripts/c120155046.lua1
Takeout Attack120290060Rush/Scripts/c120290060.lua1
Art Angel Metal Position120228014Rush/Scripts/c120228014.lua1
Launcher Catapult Turtle120249030Rush/Scripts/c120249030.lua1
Celeb Rose Sorcerer120244010Rush/Scripts/c120244010.lua1
Frenzied Panda of the Bamboo Forest120294028Rush/Scripts/c120294028.lua1
Dark Matter Jelly120261022Rush/Scripts/c120261022.lua1
Plasmatic Model Another Rising Lystella120290034Rush/Scripts/c120290034.lua1
Beast Gear King Convoy Liogon120145031Rush/Scripts/c120145031.lua1
Blue-Fang Enhanced Burst Dragon120244037Rush/Scripts/c120244037.lua1
Sevens Road Sorcerer120205011Rush/Scripts/c120205011.lua1
Destructor Integration Scrap Gate120264053Rush/Scripts/c120264053.lua1
Fish Depth Charge120253062Rush/Scripts/c120253062.lua1
Dragonlion Pit Trap120231068Rush/Scripts/c120231068.lua1
Corruption of the Blaze Fiends120231016Rush/Scripts/c120231016.lua1
Sacrificial Summon120217094Rush/Scripts/c120217094.lua1
Sarcophagus of Isyria120300048Rush/Scripts/c120300048.lua1
...and 44 more

Script Examples ​

Nativity of the Monarchs (120244063) ​

Source: Rush/Scripts/c120244063.lua

lua
	return eg:IsExists(cm.confilter,1,nil,1-tp)
end
cm.cost=RD.CostSendMZoneToGrave(cm.costfilter,1,1,false)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return (e:IsCostChecked() or Duel.GetMZoneCount(tp)>0)

Star Protector's Protection (120253065) ​

Source: Rush/Scripts/c120253065.lua

lua
	return Duel.GetTurnPlayer()==1-tp and eg:IsExists(cm.confilter,1,nil,1-tp)
end
cm.cost=RD.CostSendMZoneToGrave(Card.IsAbleToGraveAsCost,1,1,false)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return Duel.GetFlagEffect(tp,m)==0 end

Dark Renewal (120285066) ​

Source: Rush/Scripts/c120285066.lua

lua
	return eg:IsExists(cm.confilter,1,nil,1-tp)
end
cm.cost=RD.CostSendMZoneToGrave(cm.costfilter,1,1,false)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return true end