Commit 0f4ff2e2 authored by argon's avatar argon

update

parent 19b97989
This diff is collapsed.
...@@ -12,14 +12,14 @@ function c80485722.initial_effect(c) ...@@ -12,14 +12,14 @@ function c80485722.initial_effect(c)
end end
function c80485722.destg(e,tp,eg,ep,ev,re,r,rp,chk) function c80485722.destg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetAttacker() local bc=c:GetBattleTarget()
if tc==c then tc=Duel.GetAttackTarget() end if chk==0 then return bc and bc:IsFaceup() and bc:IsAttribute(ATTRIBUTE_DARK) end
if chk==0 then return tc and tc:IsFaceup() and tc:IsAttribute(ATTRIBUTE_DARK) end Duel.SetOperationInfo(0,CATEGORY_DESTROY,bc,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,tc,1,0,0)
end end
function c80485722.desop(e,tp,eg,ep,ev,re,r,rp) function c80485722.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetAttacker() local bc=c:GetBattleTarget()
if tc==c then tc=Duel.GetAttackTarget() end if bc:IsRelateToBattle() then
if tc:IsRelateToBattle() then Duel.Destroy(tc,REASON_EFFECT) end Duel.Destroy(bc,REASON_EFFECT)
end
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