Commit 46d52a63 authored by Tachibana's avatar Tachibana

ybb

parent 789a86db
......@@ -28,8 +28,8 @@ function cm.ctval(e,c)
local ba=e:GetHandler():GetBaseAttack()
local att=atk-ba
local ct=0
while att>0 do
if att-1000>0 then
while att>=0 do
if att-1000>=0 then
ct=ct+1
end
att=att-1000
......@@ -54,7 +54,7 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetValue(tc:GetAttack())
e2:SetValue(tc:GetAttack()/2)
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
c:RegisterEffect(e2)
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