diff --git a/.vscode/settings.json b/.vscode/settings.json index 471e0cf..2b64626 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,7 +5,11 @@ "Lua.semantic.keyword": true, "Lua.hint.enable": true, "Lua.runtime.nonstandardSymbol": [ - "continue" + "continue", + "!", + "!=", + "||", + "&&" ], "Lua.runtime.unicodeName": true, "Lua.workspace.checkThirdParty": false, diff --git a/Const.lua b/Const.lua index 7d23661..595933b 100644 --- a/Const.lua +++ b/Const.lua @@ -506,7 +506,7 @@ CONST.DATA_ENEMYBASE_PETSKILL10 = 0x2C; CONST.DATA_ENEMYBASE_NAME = CONST.EnemyBase_Ãû×Ö or 2000; end -if CONST.ITEMSET_ID == nil then +if CONST.ITEMSET_ID == nil or CONST.ITEMSET_ID > 0 then CONST.ITEMSET_ID = 0x0; CONST.ITEMSET_BASEIMAGENUMBER = 0x1; CONST.ITEMSET_COST = 0x2;