Commit 3e24ac91 authored by Tachibana's avatar Tachibana

ndyd

parent 78fa28dd
......@@ -35,6 +35,7 @@ function cm.initial_effect(c)
e4:SetCode(EFFECT_CANNOT_ACTIVATE)
e4:SetTargetRange(0,1)
e4:SetRange(LOCATION_MZONE)
e4:SetCondition(cm.actcon)
e4:SetValue(1)
c:RegisterEffect(e4)
--material check
......@@ -96,6 +97,11 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.actcon(e)
local ph=Duel.GetCurrentPhase()
return ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE
end
function cm.matcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) and e:GetLabel()==1
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment