Skip to content

Card.IsDualState ​

Signature ​

lua
Card.IsDualState(Card c) -> bool

Description ​

Checks whether c is currently affected by EFFECT_DUAL_STATUS.

Parameters ​

  • c Card

Returns ​

  • bool

Source ​

  • D:\Programs\GitHub\ygopro-core\libcard.cpp:3565

Guided Examples ​

Learn how to use this function in context:

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 9 indexed script(s).
  • Search this function in the Script Explorer with Card.IsDualState.
CardIDScriptDetected Calls
Dimer Synthesis90965652Scripts/c90965652.lua1
Catalyst Field65959844Scripts/c65959844.lua1
Gemini Booster18096222Scripts/c18096222.lua1
Unleash Your Power!73567374Scripts/c73567374.lua2
Skelesaurus89362180Scripts/c89362180.lua1
Super Double Summon26120084Scripts/c26120084.lua1
Gemini Trap Hole67045174Scripts/c67045174.lua2
Heavy Knight of the Flame34761062Scripts/c34761062.lua1
Energy Bravery72631243Scripts/c72631243.lua1

Script Examples ​

Dimer Synthesis (90965652) ​

Source: Scripts/c90965652.lua

lua
end
function c90965652.tgcheck(g)
	return g:IsExists(Card.IsDualState,1,nil) and g:IsExists(c90965652.atkfilter,1,nil)
end
function c90965652.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)

Catalyst Field (65959844) ​

Source: Scripts/c65959844.lua

lua
end
function c65959844.rmfilter(c)
	return c:IsDualState() and c:IsAbleToRemove()
end
function c65959844.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)

Gemini Booster (18096222) ​

Source: Scripts/c18096222.lua

lua
end
function c18096222.dafilter(c)
	return c:IsFaceup() and c:IsType(TYPE_DUAL) and not c:IsDualState()
end
function c18096222.datg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)