Commit 94008dda authored by Amiya's avatar Amiya

修复

parent 70c36cc6
No preview for this file type
...@@ -58,8 +58,8 @@ end ...@@ -58,8 +58,8 @@ end
function s.filter(c) function s.filter(c)
return c:IsType(TYPE_TRAP) and c:IsType(TYPE_CONTINUOUS) and c:IsSSetable() return c:IsType(TYPE_TRAP) and c:IsType(TYPE_CONTINUOUS) and c:IsSSetable()
and (c:GetOriginalLevel()>0 and (c:GetOriginalLevel()>0
or bit.band(c:GetOriginalRace(),0x3fffffff) or bit.band(c:GetOriginalRace(),0x3fffffff)~=0
or bit.band(c:GetOriginalAttribute(),0x7f) or bit.band(c:GetOriginalAttribute(),0x7f)~=0
or c:GetBaseAttack()>0 or c:GetBaseAttack()>0
or c:GetBaseDefense()>0) or c:GetBaseDefense()>0)
end 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