Commit 41320391 authored by Tachibana's avatar Tachibana

ybb

parent bb494a41
...@@ -80,7 +80,7 @@ function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se) ...@@ -80,7 +80,7 @@ function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsType(TYPE_LINK) and not c:IsRace(RACE_FAIRY) return c:IsType(TYPE_LINK) and not c:IsRace(RACE_FAIRY)
end end
function cm.afilter(c) function cm.afilter(c)
return c:IsFaceup() and c:IsRace(RACE_FAIRY) and not c:IsType(TYPE_TUNER) and c:IsLevelAbove(1) return c:IsFaceup() and c:IsRace(RACE_FAIRY) and not c:IsType(TYPE_TUNER)
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
...@@ -102,7 +102,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -102,7 +102,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) and c:IsLevelAbove(1) return c:IsFaceup() and c:IsRace(RACE_FAIRY) and c:IsType(TYPE_TUNER)
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