Fukki лет назад: 8
Родитель
Сommit
0a08adc03b
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      index.js
  2. 1 1
      manifest.json

+ 2 - 2
index.js

@@ -32,13 +32,13 @@ module.exports = function AutoPOT(mod) {
 			case 'slay':
 			case 'slay':
 			case 'slaying':
 			case 'slaying':
 				isSlaying = !isSlaying;
 				isSlaying = !isSlaying;
+				msg(`Slaying mode has ${isSlaying ? 'Enable' : 'Disable'}. ${config.hp ? '' : 'HP pot has Enable.'}`);
 				if (!config.hp) config.hp = true;
 				if (!config.hp) config.hp = true;
-				msg(`Slaying mode has ${isSlaying ? 'Enable' : 'Disable'}.`);
 				break;
 				break;
 			case 'hp':
 			case 'hp':
 				config.hp = !config.hp;
 				config.hp = !config.hp;
+				msg(`HP pot has ${config.hp ? 'Enable' : 'Disable'}. ${isSlaying ? 'Slaying mode has Disable.' : ''}`);
 				if (isSlaying) isSlaying = false;
 				if (isSlaying) isSlaying = false;
-				msg(`HP pot has ${config.hp ? 'Enable' : 'Disable'}.`);
 				break;
 				break;
 			case 'mp':
 			case 'mp':
 			case 'mana':
 			case 'mana':

+ 1 - 1
manifest.json

@@ -1,6 +1,6 @@
 {
 {
 	"files": {
 	"files": {
-		"index.js": "f4471ef2d1253ef1a49128632abaeffcbff8bab6835e077527e2b20af9852aec"
+		"index.js": "151155e628180c1a8b7457de6574a362ab73d76c359cd41e759bfd373c94b4c0"
 	},
 	},
 	"defs": {
 	"defs": {
 		"C_BIND_ITEM_EXECUTE": "raw",
 		"C_BIND_ITEM_EXECUTE": "raw",