Commit 46d52a63 authored by Tachibana's avatar Tachibana

ybb

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