Fukki 8 years ago
parent
commit
0b9716d422
2 changed files with 2 additions and 3 deletions
  1. 1 2
      index.js
  2. 1 1
      manifest.json

+ 1 - 2
index.js

@@ -3,8 +3,7 @@ module.exports = function AutoPOT(mod) {
 	const cmd = mod.command || mod.require.command;
 	const cmd = mod.command || mod.require.command;
 	let config = getConfig(), hpPot = getHP(), mpPot = getMP();
 	let config = getConfig(), hpPot = getHP(), mpPot = getMP();
 	let gameId = null, VehicleEx = null, getInv = false, useCombat = false;
 	let gameId = null, VehicleEx = null, getInv = false, useCombat = false;
-	let mod.game.me.alive = false, mod.game.me.inCombat = false, isSlaying = false;
-	let zoneBG = 0, nowHP = 0, nowMP = 0;
+	let isSlaying = false, nowHP = 0, nowMP = 0;
 
 
 	cmd.add(['autopot', 'pot'], (arg1, arg2) => {
 	cmd.add(['autopot', 'pot'], (arg1, arg2) => {
 		if(arg1 && arg1.length > 0) arg1 = arg1.toLowerCase();
 		if(arg1 && arg1.length > 0) arg1 = arg1.toLowerCase();

+ 1 - 1
manifest.json

@@ -1,6 +1,6 @@
 {
 {
 	"files": {
 	"files": {
-		"index.js": "5ed68d8af4319237eb4e8dd1a9e293106aa41cfee83d4b8ea6e7d6a0ea4f00a5"
+		"index.js": "407f5cffe8a63b2f346d704e85f243928b899dbfb51bfc73b5100df8b61b66f5"
 	},
 	},
 	"defs": {
 	"defs": {
 		"C_USE_ITEM": 3,
 		"C_USE_ITEM": 3,