Commit cadf134a authored by mercury233's avatar mercury233

fix

parent 4e890eba
...@@ -31,13 +31,12 @@ function c101009067.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -31,13 +31,12 @@ function c101009067.activate(e,tp,eg,ep,ev,re,r,rp)
local atk=0 local atk=0
local tc=sg:GetFirst() local tc=sg:GetFirst()
while tc do while tc do
local tatk=tc:GetAttack() atk=atk+math.max(tc:GetAttack(),0)
if tatk<0 then tatk=0 end
atk=atk+tatk
tc=sg:GetNext() tc=sg:GetNext()
end end
Duel.Damage(1-tp,atk,REASON_EFFECT) if atk>0 and Duel.Damage(1-tp,atk,REASON_EFFECT)~=0 then
Duel.Remove(g,POS_FACEUP,REASON_EFFECT) Duel.Remove(g,POS_FACEUP,REASON_EFFECT)
end
end end
Duel.ShuffleHand(1-tp) Duel.ShuffleHand(1-tp)
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