Commit 2fb3c9fc authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12029011.lua

parent 7a3df010
...@@ -56,7 +56,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -56,7 +56,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
c:RegisterFlagEffect(m,RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(m,0)) c:RegisterFlagEffect(m,RESET_EVENT+RESETS_STANDARD-RESET_TOFIELD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(m,0))
end end
function cm.econ(e,tp) function cm.econ(e,tp)
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SPECIAL+1 and ( Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_BATTLE ) local ph=Duel.GetCurrentPhase()
return e:GetHandler():GetSummonType()==SUMMON_TYPE_SPECIAL+1 and ( ph==PHASE_MAIN1 or ph>=PHASE_BATTLE_START and ph<=PHASE_BATTLE )
end end
function cm.efilter(e,te) function cm.efilter(e,te)
return te:GetOwnerPlayer()~=e:GetOwnerPlayer() return te:GetOwnerPlayer()~=e:GetOwnerPlayer()
...@@ -82,4 +83,4 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,4 +83,4 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
e:GetHandler():RegisterEffect(e1) e:GetHandler():RegisterEffect(e1)
end end
end end
\ No newline at end of file
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