Commit fbc44606 authored by 八宫一月's avatar 八宫一月

fix

parent 99d151d6
...@@ -34,7 +34,7 @@ function s.mfilter2(c) ...@@ -34,7 +34,7 @@ function s.mfilter2(c)
return c:IsRace(RACE_SPELLCASTER) or (c:IsLocation(LOCATION_SZONE) and bit.band(c:GetOriginalRace(),RACE_SPELLCASTER)~=0) return c:IsRace(RACE_SPELLCASTER) or (c:IsLocation(LOCATION_SZONE) and bit.band(c:GetOriginalRace(),RACE_SPELLCASTER)~=0)
end end
function s.cfilter(c,fc) function s.cfilter(c,fc)
return c:IsAbleToGraveAsCost() return c:IsAbleToGraveAsCost() and bit.band(c:GetOriginalType(),TYPE_MONSTER)~=0
end end
function s.natg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function s.natg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local a=Duel.GetAttacker() local a=Duel.GetAttacker()
......
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