Browse Source

:/

S_ITEMLIST v.5
Fukki 5 years ago
parent
commit
a8da368cbc
2 changed files with 3 additions and 3 deletions
  1. 1 1
      index.js
  2. 2 2
      manifest.json

+ 1 - 1
index.js

@@ -239,7 +239,7 @@ module.exports = function AutoPOT(mod) {
 			useMP(Math.round(s2n(e.currentMp) / s2n(e.maxMp) * 100));
 	});*/
 	
-	mod.hook('S_ITEMLIST', 4, e => {
+	mod.hook('S_ITEMLIST', 5, e => {
 		if (!invUpdate && e.gameId === mod.game.me.gameId) {
 			invUpdate = true;
 			for(let hp = 0; hp < hpPot.length; hp++)

+ 2 - 2
manifest.json

@@ -1,6 +1,6 @@
 {
 	"files": {
-		"index.js": "43b513a3aed6a37d5445ddc51b0fcb79869ee19262f6a7c0dad503808e983836"
+		"index.js": "120bb340ac55d908bf5168d2c2f99cf7ba271cbdd6ef2eed5401670931feb639"
 	},
 	"defs": {
 		"C_ADMIN": 1,
@@ -8,7 +8,7 @@
 		"C_PLAYER_LOCATION": 5,
 		"C_USE_ITEM": 3,
 		"S_ANNOUNCE_UPDATE_NOTIFICATION": 1,
-		"S_ITEMLIST": 4,
+		"S_ITEMLIST": 5,
 		"S_PLAYER_STAT_UPDATE": 16,
 		"S_RETURN_TO_LOBBY": "raw",
 		"S_SPAWN_ME": 3