Commit db5572c2 authored by woodee's avatar woodee

fix

should not reset at EP
parent a1c6f14c
......@@ -24,13 +24,13 @@ function c32298781.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_BASE_ATTACK)
e1:SetValue(tc:GetBaseAttack()+2000)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetReset(RESET_EVENT+0x1ff0000)
tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_SET_BASE_DEFENCE)
e2:SetValue(tc:GetBaseDefence()+2000)
e2:SetReset(RESET_PHASE+PHASE_END)
e2:SetReset(RESET_EVENT+0x1ff0000)
tc:RegisterEffect(e2)
tc=g:GetNext()
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