Commit 34f36f33 authored by wind2009's avatar wind2009

Fix 精霊コロゾ

parent f7510968
...@@ -28,10 +28,10 @@ function s.initial_effect(c) ...@@ -28,10 +28,10 @@ function s.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function s.mfilter1(c) function s.mfilter1(c)
return c:IsType(TYPE_FUSION+TYPE_SYNCHRO+TYPE_LINK+TYPE_XYZ) return bit.band(c:GetOriginalType(),TYPE_FUSION+TYPE_SYNCHRO+TYPE_LINK+TYPE_XYZ)~=0
end end
function s.mfilter2(c) function s.mfilter2(c)
return c:IsRace(RACE_SPELLCASTER) or (c:IsLocation(LOCATION_SZONE) and 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()
......
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