Commit bdb3b58c authored by nanahira's avatar nanahira

fix

parent 1b1a4525
...@@ -45,7 +45,7 @@ function c21454943.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -45,7 +45,7 @@ function c21454943.cost(e,tp,eg,ep,ev,re,r,rp,chk)
elseif lp>=200 then alp=Duel.AnnounceNumber(tp,100,200) elseif lp>=200 then alp=Duel.AnnounceNumber(tp,100,200)
end end
Duel.PayLPCost(tp,alp) Duel.PayLPCost(tp,alp)
e:SetLabel(-alp) e:SetLabel(alp)
e:GetHandler():RegisterFlagEffect(21454943,RESET_PHASE+PHASE_DAMAGE,0,1) e:GetHandler():RegisterFlagEffect(21454943,RESET_PHASE+PHASE_DAMAGE,0,1)
end end
function c21454943.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c21454943.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...@@ -62,7 +62,7 @@ function c21454943.operation(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -62,7 +62,7 @@ function c21454943.operation(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
e1:SetValue(e:GetLabel()) e1:SetValue(-e:GetLabel())
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
local e2=e1:Clone() local e2=e1:Clone()
e2:SetCode(EFFECT_UPDATE_DEFENSE) e2:SetCode(EFFECT_UPDATE_DEFENSE)
......
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