RushDuel.IsSummonTurn
Alias: RD.IsSummonTurn. Requires the matching Rush Duel Lua bootstrap.
Signature
lua
RushDuel.IsSummonTurn(Card card) -> boolDescription
Checks REASON_SUMMON, STATUS_SUMMON_TURN and the Rush FLAG_SUMMON_TURN marker. The Rush bootstrap installs the tracking effects required by this predicate.
Parameters
cardCard: Card to inspect.
Returns
bool: Whether the card satisfies the current-turn Normal Summon checks.
Source
Rush/Utilities/RDCondition.lua:30
lua
function RushDuel.IsSummonTurn(card)
return card:IsReason(REASON_SUMMON) and card:IsStatus(STATUS_SUMMON_TURN) and card:GetFlagEffect(FLAG_SUMMON_TURN) ~= 0
endGuided Examples
Learn how to use this function in context:
Used By
Generated from the local Rush/Scripts/ folder and rush_cards.cdb.
- Detected in 81 indexed script(s).
- Search this function in the Script Explorer with
RushDuel.IsSummonTurn.
Script Examples
Ember the Ultra Assistant (120283035)
Source: Rush/Scripts/c120283035.lua
lua
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>9 and RD.IsSummonTurn(e:GetHandler())
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)Tubardiche the Music Princess (120247025)
Source: Rush/Scripts/c120247025.lua
lua
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return RD.IsSummonTurn(c) and Duel.IsExistingMatchingCard(cm.confilter,tp,LOCATION_MZONE,0,1,c)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)Moonforce Timo (120300015)
Source: Rush/Scripts/c120300015.lua
lua
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return RD.IsSummonTurn(e:GetHandler()) and Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>9
end
cm.cost=RD.CostSendGroupToDeckSort(cm.costfilter,cm.check,LOCATION_HAND+LOCATION_GRAVE,2,2,true,SEQ_DECKBOTTOM,true,false)