Commit 630b9daf authored by Nemo Ma's avatar Nemo Ma

Update c33701376.lua

parent 8a8fb3a6
......@@ -53,12 +53,12 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
c:RegisterEffect(e1)
end
end
function cm.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
function cm.dmtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetTargetPlayer(tp)
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,tp,0)
end
function cm.damop(e,tp,eg,ep,ev,re,r,rp)
function cm.dmop(e,tp,eg,ep,ev,re,r,rp)
local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Damage(p,math.floor(Duel.GetLP(p)/2),REASON_EFFECT)
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