Commit 3e2d460b authored by DailyShana's avatar DailyShana

Merge pull request #371 from nekrozar/patch-2

fix Ghostrick Specter
parents 12974861 79ec87cb
......@@ -48,8 +48,7 @@ function c81907872.posop(e,tp,eg,ep,ev,re,r,rp)
end
function c81907872.cfilter(c,tp)
return c:IsControler(tp) and c:GetPreviousControler()==tp and c:IsReason(REASON_DESTROY) and c:GetReasonPlayer()~=tp
and c:IsSetCard(0x8d) and c:IsType(TYPE_MONSTER) and c:IsPreviousLocation(LOCATION_MZONE)
and (c:IsReason(REASON_EFFECT) or (c:IsReason(REASON_BATTLE) and c==Duel.GetAttackTarget()))
and c:IsSetCard(0x8d) and c:IsType(TYPE_MONSTER) and (c:IsReason(REASON_EFFECT) or (c:IsReason(REASON_BATTLE) and c==Duel.GetAttackTarget()))
end
function c81907872.spcon(e,tp,eg,ep,ev,re,r,rp)
return 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