Commit d9047eed authored by TanakaKotoha's avatar TanakaKotoha

FP

parent ab2e2309
...@@ -51,7 +51,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -51,7 +51,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.SendtoGrave(g,REASON_COST+REASON_DISCARD) Duel.SendtoGrave(g,REASON_COST+REASON_DISCARD)
end end
function cm.afilter(c) function cm.afilter(c)
return c:IsFaceup() and c:IsRace(RACE_FAIRY) and not c:IsType(TYPE_TUNER) return c:IsFaceup() and c:IsRace(RACE_FAIRY) and not c:IsType(TYPE_TUNER) and c:IsLevelAbove(1)
end end
function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and cm.afilter(chkc)and chkc:IsControler(tp) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and cm.afilter(chkc)and chkc:IsControler(tp) end
...@@ -73,7 +73,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,7 +73,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.bfilter(c) function cm.bfilter(c)
return c:IsFaceup() and c:IsRace(RACE_FAIRY) and c:IsType(TYPE_TUNER) return c:IsFaceup() and c:IsRace(RACE_FAIRY) and c:IsType(TYPE_TUNER) and c:IsLevelAbove(1)
end end
function cm.stg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.stg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and cm.bfilter(chkc)and chkc:IsControler(tp) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and cm.bfilter(chkc)and chkc:IsControler(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