Skip to content

Commit

Permalink
[#] bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Muscipular committed Sep 26, 2024
1 parent f856244 commit 2457746
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion Const.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2457746

Please sign in to comment.