Commit d1061d35 authored by chronogenexx's avatar chronogenexx

fix 突撃指令, 玉砕指令

parent 7c3f2e0e
...@@ -14,7 +14,7 @@ end ...@@ -14,7 +14,7 @@ end
function c39019325.rfilter(c,e) function c39019325.rfilter(c,e)
local tpe=c:GetType() local tpe=c:GetType()
return bit.band(tpe,TYPE_NORMAL)~=0 and bit.band(tpe,TYPE_TOKEN)==0 return bit.band(tpe,TYPE_NORMAL)~=0 and bit.band(tpe,TYPE_TOKEN)==0
and c:IsFaceup() and c:IsLevelBelow(2) and c:IsReleasable() and c:IsReleasableByEffect() and not c:IsImmuneToEffect(e) and c:IsFaceup() and c:IsLevelBelow(2) and c:IsReleasableByEffect() and not c:IsImmuneToEffect(e)
end end
function c39019325.dfilter(c) function c39019325.dfilter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) return c:IsType(TYPE_SPELL+TYPE_TRAP)
......
...@@ -14,7 +14,7 @@ end ...@@ -14,7 +14,7 @@ end
function c78986941.rfilter(c,e) function c78986941.rfilter(c,e)
local tpe=c:GetType() local tpe=c:GetType()
return bit.band(tpe,TYPE_NORMAL)~=0 and bit.band(tpe,TYPE_TOKEN)==0 return bit.band(tpe,TYPE_NORMAL)~=0 and bit.band(tpe,TYPE_TOKEN)==0
and c:IsFaceup() and c:IsReleasable() and c:IsReleasableByEffect() and c:IsFaceup() and c:IsReleasableByEffect()
end end
function c78986941.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c78986941.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c78986941.rfilter(chkc,e) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c78986941.rfilter(chkc,e) 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