Commit 842c7a43 authored by Tianchenglipu's avatar Tianchenglipu

Update c16195942.lua

黑色花园有作取整优化处理。
暗叛逆也应该有=。=
parent 54772aee
......@@ -33,7 +33,7 @@ function c16195942.operation(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_ATTACK_FINAL)
e1:SetReset(RESET_EVENT+0x1fe0000)
e1:SetValue(atk/2)
e1:SetValue(math.ceil(atk/2))
tc:RegisterEffect(e1)
if c:IsRelateToEffect(e) and c:IsFaceup() then
local e2=Effect.CreateEffect(c)
......@@ -41,7 +41,7 @@ function c16195942.operation(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetReset(RESET_EVENT+0x1fe0000)
e2:SetValue(atk/2)
e2:SetValue(math.floor(atk/2))
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