Commit 890e96a2 authored by salix5's avatar salix5

Merge pull request #981 from Steeldarkeagel/patch-28

Update c54702678.lua
parents 4358df9f f5324f30
......@@ -41,18 +41,17 @@ function c54702678.discon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetAttackTarget() and e:GetHandler()==Duel.GetAttacker()
end
function c54702678.disop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local bc=c:GetBattleTarget()
local e1=Effect.CreateEffect(c)
local bc=e:GetHandler():GetBattleTarget()
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+0x57a0000)
bc:RegisterEffect(e1,true)
local e2=Effect.CreateEffect(c)
bc:RegisterEffect(e1)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetReset(RESET_EVENT+0x57a0000)
bc:RegisterEffect(e2,true)
bc:RegisterEffect(e2)
end
function c54702678.damcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
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