Commit 98d5e763 authored by POLYMER's avatar POLYMER

fix

parent 4face407
...@@ -14,7 +14,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -14,7 +14,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Damage(res,1000,REASON_EFFECT) Duel.Damage(res,1000,REASON_EFFECT)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetFlagEffect(res,m)==0 then if Duel.GetFlagEffect(res,m)==0 then
Duel.RegisterFlagEffect(res,m,RESET_EVENT+0x1ff0000+RESET_PHASE+PHASE_END,0,1,ev) Duel.RegisterFlagEffect(res,m,RESET_PHASE+PHASE_END,0,1,ev)
else else
local label=Duel.GetFlagEffectLabel(res,m) local label=Duel.GetFlagEffectLabel(res,m)
Duel.SetFlagEffectLabel(res,m,label+ev) Duel.SetFlagEffectLabel(res,m,label+ev)
......
...@@ -36,6 +36,7 @@ function c98920504.filter1(c) ...@@ -36,6 +36,7 @@ function c98920504.filter1(c)
end end
function c98920504.activate(e,tp,eg,ep,ev,re,r,rp) function c98920504.activate(e,tp,eg,ep,ev,re,r,rp)
local sg=e:GetLabelObject() local sg=e:GetLabelObject()
if not sg then return end
if sg:IsDefenseAbove(2000) then if sg:IsDefenseAbove(2000) then
local conf=Duel.GetFieldGroup(tp,0,LOCATION_SZONE+LOCATION_HAND) local conf=Duel.GetFieldGroup(tp,0,LOCATION_SZONE+LOCATION_HAND)
if conf:GetCount()>0 then if conf:GetCount()>0 then
......
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