Commit c0f92c7d authored by Huangnan's avatar Huangnan

fix

parent 26b74cac
......@@ -20,7 +20,7 @@ function cm.initial_effect(c)
end
--linksummon
function cm.lfilter(c)
return c:IsRace(RACE_PSYCHO) and c:IsType(TYPE_MONSTER)
return c:IsRace(RACE_PSYCHO) and bit.band(c:GetType(),TYPE_MONSTER)~=0
end
function cm.lcheck(g,lc)
return g:IsExists(cm.lfilter,1,nil)
......
......@@ -57,7 +57,7 @@ function cm.limcon(e)
return e:GetHandler():GetSequence()<5
end
function cm.lfilter(c)
return c:IsRace(RACE_PSYCHO) and c:IsType(TYPE_MONSTER)
return c:IsRace(RACE_PSYCHO) and bit.band(c:GetType(),TYPE_MONSTER)~=0
end
function cm.lcheck(g,lc)
return g:IsExists(cm.lfilter,1,nil)
......
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