RushDuel.SendToGraveAndExists
Alias: RD.SendToGraveAndExists. Requires the matching Rush Duel Lua bootstrap.
Signature
lua
RushDuel.SendToGraveAndExists(any target, any filter, any count, any expect) -> anyDescription
Rush Duel helper declared in RDAction.lua. Its argument names are extracted from the pinned source; parameter and return types have not yet been reviewed.
Upstream source comment
text
操作: 送去墓地Parameters
targetany: Type and behavior are not yet reviewed; see the source.filterany: Type and behavior are not yet reviewed; see the source.countany: Type and behavior are not yet reviewed; see the source.expectany: 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/RDAction.lua:299
lua
function RushDuel.SendToGraveAndExists(target, filter, count, expect)
local g = RushDuel.ToMaximunGroup(target)
return Duel.SendtoGrave(g, REASON_EFFECT) ~= 0 and RushDuel.IsOperatedGroupExists(filter, count, expect)
endUsed By
Generated from the local Rush/Scripts/ folder and rush_cards.cdb.
- Detected in 33 indexed script(s).
- Search this function in the Script Explorer with
RushDuel.SendToGraveAndExists.
Script Examples
Chaos Emperor Dragon - Envoy of the End (120305001)
Source: Rush/Scripts/c120305001.lua
lua
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(cm.filter,tp,LOCATION_HAND+LOCATION_ONFIELD,LOCATION_HAND+LOCATION_ONFIELD,nil)
if g:GetCount()>0 and RD.SendToGraveAndExists(g) then
local ct=Duel.GetOperatedGroup():FilterCount(Card.IsControler,nil,1-tp)
if ct>0 thenNobody Phantom Thief (120244060)
Source: Rush/Scripts/c120244060.lua
lua
RD.SelectAndDoAction(HINTMSG_TOGRAVE,cm.filter,tp,LOCATION_HAND,0,1,99,nil,function(g)
Duel.BreakEffect()
if RD.SendToGraveAndExists(g) and Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)==0 then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(m,1))Nobody Phantom Thief (120273005)
Source: Rush/Scripts/c120273005.lua
lua
RD.SelectAndDoAction(HINTMSG_TOGRAVE,cm.filter,tp,LOCATION_HAND,0,1,99,nil,function(g)
Duel.BreakEffect()
if RD.SendToGraveAndExists(g) and Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)==0 then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(m,1))