Duel.IsMainPhase
Signature
lua
Duel.IsMainPhase() -> boolDescription
Returns whether the current phase is a Main Phase.
Returns
bool
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:4952
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 83 indexed script(s).
- Search this function in the Script Explorer with
Duel.IsMainPhase.
Script Examples
Astrograph Sorcerer, the Starfrost Magician (48171151)
Source: Scripts/c48171151.lua
lua
end
function s.fspcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsMainPhase()
end
function s.filter0(c,e)Levia-Dragoon - Daedalus (78579058)
Source: Scripts/c78579058.lua
lua
end
function s.drcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsMainPhase()
end
function s.drcost(e,tp,eg,ep,ev,re,r,rp,chk)Mixousia the Confounder (80843006)
Source: Scripts/c80843006.lua
lua
end
function s.fspcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()~=tp and Duel.IsMainPhase()
end
function s.filter1(c,e)