Commit bf68d319 authored by GuGu's avatar GuGu

Update c50252.lua

parent 828c8466
...@@ -62,7 +62,7 @@ function c50252.bop(e,tp,eg,ep,ev,re,r,rp) ...@@ -62,7 +62,7 @@ function c50252.bop(e,tp,eg,ep,ev,re,r,rp)
e4:SetCountLimit(1) e4:SetCountLimit(1)
e4:SetReset(RESET_PHASE+PHASE_END) e4:SetReset(RESET_PHASE+PHASE_END)
e4:SetOperation(c50252.desop) e4:SetOperation(c50252.desop)
c:RegisterEffect(e4) token:RegisterEffect(e4)
end end
function c50252.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c50252.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
...@@ -76,7 +76,6 @@ function c50252.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,7 +76,6 @@ function c50252.spop(e,tp,eg,ep,ev,re,r,rp)
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER) local p=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER)
local rec=(e:GetHandler():GetAttack()*2) local rec=(e:GetHandler():GetAttack()*2)
Duel.BreakEffect()
Duel.Recover(p,rec,REASON_EFFECT) Duel.Recover(p,rec,REASON_EFFECT)
Duel.Draw(p,1,REASON_EFFECT) Duel.Draw(p,1,REASON_EFFECT)
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