Commit 72457579 authored by wind2009's avatar wind2009 Committed by GitHub

Fix 転生炎獣パイロ・フェニックス (#2428)

Fix its ③ effect can select monsters not in monster zone
parent c5704664
...@@ -85,7 +85,7 @@ function c31313405.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -85,7 +85,7 @@ function c31313405.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c31313405.cfilter(c,e,tp) function c31313405.cfilter(c,e,tp)
return c:IsFaceup() and c:IsControler(tp) and c:IsType(TYPE_LINK) and c:GetBaseAttack()>0 and c:IsCanBeEffectTarget(e) return c:IsFaceup() and c:IsControler(tp) and c:IsType(TYPE_LINK) and c:GetBaseAttack()>0 and c:IsCanBeEffectTarget(e) and c:IsLocation(LOCATION_MZONE)
end end
function c31313405.damtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c31313405.damtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return eg:IsContains(chkc) and c31313405.cfilter(chkc,e,1-tp) end if chkc then return eg:IsContains(chkc) and c31313405.cfilter(chkc,e,1-tp) 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