Commit 7b4a405c authored by nanahira's avatar nanahira

fix

parent 13496cae
...@@ -13,7 +13,7 @@ end ...@@ -13,7 +13,7 @@ end
function c4041838.targ(e,tp,eg,ep,ev,re,r,rp,chk) function c4041838.targ(e,tp,eg,ep,ev,re,r,rp,chk)
local d=Duel.GetAttackTarget() local d=Duel.GetAttackTarget()
if chk ==0 then return Duel.GetAttacker()==e:GetHandler() if chk ==0 then return Duel.GetAttacker()==e:GetHandler()
and d~=nil and d:IsFaceup() and d:IsDefensePos() and d:IsRelateToBattle() end and d~=nil and d:IsFaceup() and d:IsDefensePos() and d:IsFaceup() and d:IsRelateToBattle() end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,d,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,d,1,0,0)
end end
function c4041838.op(e,tp,eg,ep,ev,re,r,rp) function c4041838.op(e,tp,eg,ep,ev,re,r,rp)
......
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