Skip to content

RushDuel.IsSpecialSummonMainPhase ​

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

Signature ​

lua
RushDuel.IsSpecialSummonMainPhase(any card, any type) -> any

Description ​

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

Upstream source comment ​

text
条件: 这张卡特殊召唤的自己主要阶段

Parameters ​

  • card any: Type and behavior are not yet reviewed; see the source.
  • type 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/RDCondition.lua:42

lua
function RushDuel.IsSpecialSummonMainPhase(card, type)
    return card:IsReason(REASON_SPSUMMON) and card:IsStatus(STATUS_SPSUMMON_TURN) and card:GetFlagEffect(FLAG_SUMMON_MAIN_PHASE) ~= 0
        and (not type or card:IsSummonType(type))
end

Used By ​

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

  • Detected in 69 indexed script(s).
  • Search this function in the Script Explorer with RushDuel.IsSpecialSummonMainPhase.
CardIDScriptDetected Calls
Volcalizing Salamandeus120272039Rush/Scripts/c120272039.lua1
Voidalfr Star Mayfly120300034Rush/Scripts/c120300034.lua1
Brassdes of the Wicked Wheels120304033Rush/Scripts/c120304033.lua1
Player #C39: Home Run Smasher V120305028Rush/Scripts/c120305028.lua1
Wako Gozen Riletta120309021Rush/Scripts/c120309021.lua1
YXZ-Cannon Dragon120305004Rush/Scripts/c120305004.lua1
Bluetech Burst Rex120261044Rush/Scripts/c120261044.lua1
Voidvelg Gehennamagia120109048Rush/Scripts/c120109048.lua1
Fist the Contractor of the Imprisoned Dragon120306037Rush/Scripts/c120306037.lua1
Voidvelg Beyond Probe120300031Rush/Scripts/c120300031.lua1
Dark Matter Transcend Dragon120272044Rush/Scripts/c120272044.lua1
Cosmostar the White Hole Polairy120293045Rush/Scripts/c120293045.lua1
Harpie Lady Feather Duster120279002Rush/Scripts/c120279002.lua1
Rising HERO Argent F120304043Rush/Scripts/c120304043.lua1
Dicemite Gyame Double-Up Chirori120272040Rush/Scripts/c120272040.lua1
Celeb Rose Rich Magicians120287040Rush/Scripts/c120287040.lua1
Tamabot King Golem120285039Rush/Scripts/c120285039.lua1
Ever-Grace Princess Hina120290038Rush/Scripts/c120290038.lua1
Divinebreath the Orchestral Music Fiend120247018Rush/Scripts/c120247018.lua1
Voidalfr Star Stripe120300033Rush/Scripts/c120300033.lua1
Harpie Regina Splendid Armor120279004Rush/Scripts/c120279004.lua1
Whispurring Fairy120277047Rush/Scripts/c120277047.lua1
Amulet Dragon120309085Rush/Scripts/c120309085.lua1
Reshef the Dark Being120306069Rush/Scripts/c120306069.lua1
...and 45 more

Script Examples ​

Volcalizing Salamandeus (120272039) ​

Source: Rush/Scripts/c120272039.lua

lua
	local c=e:GetHandler()
	if c:IsFaceup() and c:IsRelateToEffect(e) 
		and RD.IsSpecialSummonMainPhase(c) and e:GetLabel()==1 then
		RD.AttachExtraAttack(e,c,2,aux.Stringid(m,3),RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
	end

Voidalfr Star Mayfly (120300034) ​

Source: Rush/Scripts/c120300034.lua

lua
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
	return RD.IsSpecialSummonMainPhase(e:GetHandler(),SUMMON_TYPE_FUSION)
end
cm.cost=RD.CostSendGraveSubToDeck(cm.costfilter,cm.check,3,3)

Brassdes of the Wicked Wheels (120304033) ​

Source: Rush/Scripts/c120304033.lua

lua
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
	return RD.IsSpecialSummonMainPhase(e:GetHandler())
end
cm.cost=RD.CostSendDeckTopToGrave(3)