Commit ca7c981b authored by DailyShana's avatar DailyShana

fix

parent 95f85bcb
......@@ -615,18 +615,16 @@ long GetMonsterType(string cardtype)
return type;
}
//卡片类型
long GetCardType(string cardtype, string level, string type1,
string type2, string type3)
long GetCardType(string cardtype, string level, params string[] types)
{
long type = 0;
//魔法陷阱
type |= GetSpellTrapType(level);
//怪兽
type |= GetMonsterType(cardtype);
//type2-4是识别怪兽效果类型
type |= GetTypeInt(type1);
type |= GetTypeInt(type2);
type |= GetTypeInt(type3);
//types是识别怪兽效果类型
foreach(string typ in types)
type |= GetTypeInt(typ);
return type;
}
......
################ use tab
################ use tab
##rule
0x0 Rule
0x1 OCG
......@@ -97,7 +97,7 @@
0x200000 Divine-Beast
0x400000 Creator God
0x800000 Wyrm
0x1000000 Cybers
0x1000000 Cyverse
##type
0x1 Monster
0x2 Spell
......
No preview for this file type
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