Commit 4e8def35 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c12866685.lua

parent 29111eed
Pipeline #31375 passed with stages
in 26 minutes and 52 seconds
...@@ -74,9 +74,11 @@ end ...@@ -74,9 +74,11 @@ end
function s.cfilter(c,tp) function s.cfilter(c,tp)
return c:IsFaceup() and c:IsRace(RACE_FIEND) and c:IsControler(tp) return c:IsFaceup() and c:IsRace(RACE_FIEND) and c:IsControler(tp)
end end
function s.spfilter(c,tp)
return c:IsControler(tp) and c:IsRace(RACE_FIEND) and c:IsFaceup()
end
function s.descon(e,tp,eg,ep,ev,re,r,rp) function s.descon(e,tp,eg,ep,ev,re,r,rp)
local tg=eg:GetFirst() return eg:IsExists(s.spfilter,1,nil,tp)
return eg:GetCount()==1 and tg~=e:GetHandler() and tg:IsRace(RACE_FIEND)
end end
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() end if chkc then return chkc:IsOnField() 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