Commit 7abbc5bc authored by Steeldarkeagel's avatar Steeldarkeagel

Update c81907872.lua

Fix: Now does not activate if a Ghostrick Monster in the Spell/Trap zone is destroyed.
parent 2fe7f909
...@@ -48,7 +48,7 @@ function c81907872.posop(e,tp,eg,ep,ev,re,r,rp) ...@@ -48,7 +48,7 @@ function c81907872.posop(e,tp,eg,ep,ev,re,r,rp)
end end
function c81907872.cfilter(c,tp) function c81907872.cfilter(c,tp)
return c:IsControler(tp) and c:GetPreviousControler()==tp and c:IsSetCard(0x8d) and c:IsReason(REASON_DESTROY) and c:IsType(TYPE_MONSTER) return c:IsControler(tp) and c:GetPreviousControler()==tp and c:IsSetCard(0x8d) and c:IsReason(REASON_DESTROY) and c:IsType(TYPE_MONSTER)
and (not c:IsReason(REASON_BATTLE) or c==Duel.GetAttackTarget()) and (not c:IsReason(REASON_BATTLE) or c==Duel.GetAttackTarget()) and not c:IsPreviousLocation(LOCATION_SZONE)
end end
function c81907872.spcon(e,tp,eg,ep,ev,re,r,rp) function c81907872.spcon(e,tp,eg,ep,ev,re,r,rp)
return rp~=tp and eg:IsExists(c81907872.cfilter,1,nil,tp) return rp~=tp and eg:IsExists(c81907872.cfilter,1,nil,tp)
......
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