RushDuel.IsCanBeSpecialSummoned
Alias: RD.IsCanBeSpecialSummoned. Requires the matching Rush Duel Lua bootstrap.
Signature
lua
RushDuel.IsCanBeSpecialSummoned(Card card, Effect effect, int player, int position) -> boolDescription
Calls card:IsCanBeSpecialSummoned(effect,0,player,false,false,position). This is a legality predicate for an ordinary effect Special Summon to that player, with neither summoning conditions nor revive limits bypassed. It does not check or reserve a free zone. If the destination player differs from the summoning player, use the native Card.IsCanBeSpecialSummoned arguments that match the later operation.
Parameters
cardCard: Monster to check.effectEffect: Summoning effect.playerint: Summoning player and default destination player.positionint: Position mask to match the later summon.
Returns
bool: Whether the native per-card summon check passes.
Source
Rush/Utilities/RDCondition.lua:126
lua
function RushDuel.IsCanBeSpecialSummoned(card, effect, player, position)
return card:IsCanBeSpecialSummoned(effect, 0, player, false, false, position)
endUsed By
Generated from the local Rush/Scripts/ folder and rush_cards.cdb.
- Detected in 449 indexed script(s).
- Search this function in the Script Explorer with
RushDuel.IsCanBeSpecialSummoned.
Script Examples
Nativity of the Monarchs (120244063)
Source: Rush/Scripts/c120244063.lua
lua
end
function cm.spfilter(c,e,tp)
return c:IsLevelAbove(5) and RD.IsDefense(c,1000) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP_ATTACK)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)Instant Gift (120306059)
Source: Rush/Scripts/c120306059.lua
lua
function cm.chkfilter(c,e,tp,fc)
return aux.IsMaterialListCode(fc,c:GetFusionCode())
and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP)
end
function cm.spfilter(c,e,tp,code)Valkyrian Guard (120231066)
Source: Rush/Scripts/c120231066.lua
lua
end
function cm.spfilter(c,e,tp)
return c:IsLevel(4) and c:IsRace(RACE_SPELLCASTER) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP_ATTACK)
end
function cm.posfilter(c,e,tp)