Commit 4ee3551e authored by nekrozar's avatar nekrozar

fix Fluorohydride/ygopro#2180

for Phantom of Chaos
parent 96d644cc
...@@ -23,10 +23,10 @@ function c48829461.initial_effect(c) ...@@ -23,10 +23,10 @@ function c48829461.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c48829461.sfilter(c) function c48829461.sfilter(c)
return c:IsCode(598988,1710476,9433350,36521459,37115575,55343236) and not c:IsDisabled() return c:IsOriginalCodeRule(598988,1710476,9433350,36521459,37115575,55343236) and not c:IsDisabled()
end end
function c48829461.uqfilter(c) function c48829461.uqfilter(c)
if Duel.IsPlayerAffectedByEffect(c:GetControler(),75223115) if Duel.IsPlayerAffectedByEffect(c:GetControler(),75223115)
and Duel.IsExistingMatchingCard(c48829461.sfilter,c:GetControler(),LOCATION_MZONE,LOCATION_MZONE,1,nil) then and Duel.IsExistingMatchingCard(c48829461.sfilter,c:GetControler(),LOCATION_MZONE,LOCATION_MZONE,1,nil) then
return c:IsCode(48829461) return c:IsCode(48829461)
else else
......
...@@ -13,10 +13,10 @@ function c74509280.initial_effect(c) ...@@ -13,10 +13,10 @@ function c74509280.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c74509280.sfilter(c) function c74509280.sfilter(c)
return c:IsCode(598988,1710476,9433350,36521459,37115575,55343236) and not c:IsDisabled() return c:IsOriginalCodeRule(598988,1710476,9433350,36521459,37115575,55343236) and not c:IsDisabled()
end end
function c74509280.uqfilter(c) function c74509280.uqfilter(c)
if Duel.IsPlayerAffectedByEffect(c:GetControler(),75223115) if Duel.IsPlayerAffectedByEffect(c:GetControler(),75223115)
and Duel.IsExistingMatchingCard(c74509280.sfilter,c:GetControler(),LOCATION_MZONE,LOCATION_MZONE,1,nil) then and Duel.IsExistingMatchingCard(c74509280.sfilter,c:GetControler(),LOCATION_MZONE,LOCATION_MZONE,1,nil) then
return c:IsCode(74509280) return c:IsCode(74509280)
else else
......
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