Commit 1acc0233 authored by salix5's avatar salix5

add ATTRIBUTE_ALL

parent 3453cf0d
...@@ -37,7 +37,7 @@ function c41659072.initial_effect(c) ...@@ -37,7 +37,7 @@ function c41659072.initial_effect(c)
end end
function c41659072.syncheck(g) function c41659072.syncheck(g)
local sg=g:Clone() local sg=g:Clone()
local attr=0x7f local attr=ATTRIBUTE_ALL
for c in aux.Next(sg) do for c in aux.Next(sg) do
attr=attr&c:GetAttribute() attr=attr&c:GetAttribute()
if attr==0 then break end if attr==0 then break end
......
...@@ -55,6 +55,7 @@ TYPE_PENDULUM =0x1000000 --灵摆 ...@@ -55,6 +55,7 @@ TYPE_PENDULUM =0x1000000 --灵摆
TYPE_SPSUMMON =0x2000000 --特殊召唤 TYPE_SPSUMMON =0x2000000 --特殊召唤
TYPE_LINK =0x4000000 --连接 TYPE_LINK =0x4000000 --连接
--Attributes 属性 --Attributes 属性
ATTRIBUTE_ALL =0x7f --All
ATTRIBUTE_EARTH =0x01 --地 ATTRIBUTE_EARTH =0x01 --地
ATTRIBUTE_WATER =0x02 --水 ATTRIBUTE_WATER =0x02 --水
ATTRIBUTE_FIRE =0x04 --炎 ATTRIBUTE_FIRE =0x04 --炎
......
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