Commit 8bc2b01d authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12016002.lua

parent aa7d4315
...@@ -170,9 +170,10 @@ end ...@@ -170,9 +170,10 @@ end
function c12016002.rdop(e,tp,eg,ep,ev,re,r,rp) function c12016002.rdop(e,tp,eg,ep,ev,re,r,rp)
local ht=c:GetFlagEffect(12016002) local ht=c:GetFlagEffect(12016002)
local tt=2^ht local tt=2^ht
Duel.ChangeBattleDamage(tp,ev/tt) local dmg=math.floor(ev/tt)
Duel.ChangeBattleDamage(tp,dmg)
c:RegisterFlagEffect(12016002,RESET_EVENT+RESET_PHASE+PHASE_END,0,1) c:RegisterFlagEffect(12016002,RESET_EVENT+RESET_PHASE+PHASE_END,0,1)
end end
function c12016002.value(e) function c12016002.value(e)
return e:GetHandler():GetType()+TYPE_SPELL return e:GetHandler():GetType()+TYPE_SPELL
end end
\ No newline at end of file
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