Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DailyShana committed Apr 2, 2017
1 parent 95f85bc commit ca7c981
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions DataEditorX/Core/Mse/MseMaker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions DataEditorX/data/cardinfo_english.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
################ use tab
################ use tab
##rule
0x0 Rule
0x1 OCG
Expand Down Expand Up @@ -97,7 +97,7 @@
0x200000 Divine-Beast
0x400000 Creator God
0x800000 Wyrm
0x1000000 Cybers
0x1000000 Cyverse
##type
0x1 Monster
0x2 Spell
Expand Down
Binary file modified win32/DataEditorX.exe
Binary file not shown.
File renamed without changes.
File renamed without changes.

0 comments on commit ca7c981

Please sign in to comment.