Commit f402c83d authored by DailyShana's avatar DailyShana

fix

parent 21766e4b
...@@ -116,12 +116,13 @@ function c74402414.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -116,12 +116,13 @@ function c74402414.checkop(e,tp,eg,ep,ev,re,r,rp)
local ct=e:GetLabelObject():FilterCount(c74402414.dfilter,nil) local ct=e:GetLabelObject():FilterCount(c74402414.dfilter,nil)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsDisabled() or not c:IsStatus(STATUS_EFFECT_ENABLED) or ct==0 then if c:IsDisabled() or not c:IsStatus(STATUS_EFFECT_ENABLED) or ct==0 then
e:SetLabel(1) e:SetLabel(0)
else e:SetLabel(0) end else e:SetLabel(ct) end
end end
function c74402414.damop(e,tp,eg,ep,ev,re,r,rp) function c74402414.damop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if e:GetLabelObject():GetLabel()==0 and c:GetPreviousControler()==tp then local ct=e:GetLabelObject():GetLabel()
if ct>0 and c:GetPreviousControler()==tp then
Duel.Damage(tp,ct*500,REASON_EFFECT) Duel.Damage(tp,ct*500,REASON_EFFECT)
end end
end 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