Commit eacf913e authored by mercury233's avatar mercury233

fix

parent 148000bb
...@@ -45,7 +45,7 @@ function c84389640.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -45,7 +45,7 @@ function c84389640.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(84389640,1)) Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(84389640,1))
local pay=Duel.AnnounceNumber(tp,table.unpack(t)) local pay=Duel.AnnounceNumber(tp,table.unpack(t))
Duel.PayLPCost(tp,pay) Duel.PayLPCost(tp,pay)
e:SetLabel(-pay) e:SetLabel(pay)
e:GetHandler():RegisterFlagEffect(84389640,RESET_PHASE+PHASE_DAMAGE,0,1) e:GetHandler():RegisterFlagEffect(84389640,RESET_PHASE+PHASE_DAMAGE,0,1)
end end
function c84389640.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c84389640.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...@@ -62,6 +62,6 @@ function c84389640.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -62,6 +62,6 @@ function c84389640.operation(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
e1:SetValue(e:GetLabel()) e1:SetValue(e:GetLabel()*-1)
bc:RegisterEffect(e1) bc:RegisterEffect(e1)
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