Skip to content

Card.EnableDualState ​

Signature ​

lua
Card.EnableDualState(Card c) -> void

Description ​

Registers EFFECT_DUAL_STATUS on c so local Gemini/Dual checks treat it as having gained its effects. This does not perform a Normal Summon or spend a Normal Summon. Use it only for effects that explicitly make a Gemini Monster be treated as having been Normal Summoned again. The registered status effect includes the local client hint and resets with the normal card event reset.

Parameters ​

  • c Card - Gemini Monster that should immediately gain Dual State.

Source ​

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

Guided Examples ​

Learn how to use this function in context:

Used By ​

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

  • Detected in 8 indexed script(s).
  • Search this function in the Script Explorer with Card.EnableDualState.
CardIDScriptDetected Calls
Burnout25669282Scripts/c25669282.lua1
Gemini Ablation80758812Scripts/c80758812.lua1
Sublimation Knight54485355Scripts/c54485355.lua1
Gemini Booster18096222Scripts/c18096222.lua1
Black Brutdrago96029574Scripts/c96029574.lua1
Unleash Your Power!73567374Scripts/c73567374.lua1
Blazewing Butterfly16984449Scripts/c16984449.lua1
Super Double Summon26120084Scripts/c26120084.lua1

Script Examples ​

Burnout (25669282) ​

Source: Scripts/c25669282.lua

lua
	local tc=Duel.GetFirstTarget()
	if tc:IsRelateToEffect(e) and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
		tc:EnableDualState()
	end
	Duel.SpecialSummonComplete()

Gemini Ablation (80758812) ​

Source: Scripts/c80758812.lua

lua
	local tc=g:GetFirst()
	if tc and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
		tc:EnableDualState()
	end
	Duel.SpecialSummonComplete()

Sublimation Knight (54485355) ​

Source: Scripts/c54485355.lua

lua
		while tc do
			if Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
				tc:EnableDualState()
			end
			tc=spg:GetNext()