feat: implement costume weapon, sash skin, shining slots and enchants
This commit is contained in:
@@ -14,7 +14,7 @@ assert 'IsCostumeEnchant' not in source('port_switchbot.cpp') and 's_adwNormal[]
|
||||
assert 'port_costume_attr.cpp' in source('Makefile')
|
||||
port=source('port_costume_attr.cpp')
|
||||
for text in ('COSTUME_ENCHANT_VNUM_MIN = 54001','COSTUME_ENCHANT_VNUM_MAX = 54267','COSTUME_ENCHANT_MAX_ATTR = 3',
|
||||
'case COSTUME_BODY:\n\t\t\treturn 1;','case COSTUME_HAIR:\n\t\t\treturn 2;','case COSTUME_MOUNT_SKIN:\n\t\t\treturn 4;',
|
||||
'case COSTUME_BODY:','case COSTUME_HAIR:','case COSTUME_WEAPON:','case COSTUME_MOUNT_SKIN:','case COSTUME_NEW_SASH:','case SHINING_WEAPON:',
|
||||
'GetValue(2) & (1 << flag)','item->SetCount(item->GetCount() - 1);'):
|
||||
assert text in port,text
|
||||
codes=('target','none','equipped','full','has','done')
|
||||
|
||||
Reference in New Issue
Block a user