Commit 5a6be6a4 authored by salix5's avatar salix5

Merge pull request #1330 from Tianchenglipu/patch-2

Update c16195942.lua
parents f2758afb 842c7a43
......@@ -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