Просмотр исходного кода

2.1.1 Fixed wrong chat message for "dungeon" command

TeraProxy лет назад: 8
Родитель
Сommit
0e18d82a1c
4 измененных файлов с 12 добавлено и 13 удалено
  1. 4 1
      README.md
  2. 3 7
      index.js
  3. 3 3
      manifest.json
  4. 2 2
      module.json

+ 4 - 1
README.md

@@ -32,7 +32,8 @@ The following commands are supported:
 
 
 ## Safety
 ## Safety
 Whatever you send to the proxy chat in game is intercepted client-side. The chat is NOT sent to the server.  
 Whatever you send to the proxy chat in game is intercepted client-side. The chat is NOT sent to the server.  
-The script makes sure that you are not dead, mounted, in a battleground or in a negotiation before using an item.
+The script makes sure that you are not dead, mounted, in a battleground or in a negotiation before using an item.  
+The script will disable itself when you run out of items to use.
 
 
 ## Credits
 ## Credits
 Based on true-everful-nostrum by Pinkie Pie https://github.com/pinkipi  
 Based on true-everful-nostrum by Pinkie Pie https://github.com/pinkipi  
@@ -41,6 +42,8 @@ Based on true-everful-nostrum by Caali https://github.com/caali-hackerman
 ## Changelog
 ## Changelog
 <details>
 <details>
 
 
+### 2.1.1
+* [*] Fixed wrong chat message for "dungeon" command
 ### 2.1.0
 ### 2.1.0
 * [+] Added "dungeonOnly" option and "dungeon" command
 * [+] Added "dungeonOnly" option and "dungeon" command
 ### 2.0.5
 ### 2.0.5

+ 3 - 7
index.js

@@ -1,7 +1,3 @@
-// Version 2.1.0
-// Based on true-everful-nostrum by Pinkie Pie https://github.com/pinkipi
-// Based on true-everful-nostrum by Caali https://github.com/caali-hackerman
-
 'use strict'
 'use strict'
 
 
 const ITEMS_NOSTRUM = [152898, 184659, 201005, 201006, 201007, 201008, 201022, 855604], // EU, NA, RU, TW, ?, ?, JP , TH
 const ITEMS_NOSTRUM = [152898, 184659, 201005, 201006, 201007, 201008, 201022, 855604], // EU, NA, RU, TW, ?, ?, JP , TH
@@ -164,11 +160,11 @@ module.exports = function Essentials(mod) {
 		}
 		}
 		else if(param == "dungeons" || param == "dungeons" || param == "dung") {
 		else if(param == "dungeons" || param == "dungeons" || param == "dung") {
 			mod.settings.dungeonOnly = !mod.settings.dungeonOnly
 			mod.settings.dungeonOnly = !mod.settings.dungeonOnly
-			mod.command.message(niceName + 'Items will be used ' + (enabled ? 'everywhere' : 'in dungeons only'))
+			mod.command.message(niceName + 'Items will be used ' + (mod.settings.dungeonOnly ? 'everywhere' : 'in dungeons only'))
 		}
 		}
 		else mod.command.message('Commands:\n'
 		else mod.command.message('Commands:\n'
-								+ ' "essentials" (enable/disable Essentials),\n'
-								+ ' "essentials dungeon" (switch between using items everywhere or only in dungeons)'
+			+ ' "essentials" (enable/disable Essentials),\n'
+			+ ' "essentials dungeon" (switch between using items everywhere or only in dungeons)'
 		)
 		)
 	})
 	})
 }
 }

+ 3 - 3
manifest.json

@@ -1,9 +1,9 @@
 {
 {
 	"files": {
 	"files": {
 		"LICENSE": "589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2",
 		"LICENSE": "589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2",
-		"README.md": "58b2906a9474d8451e1a5f9ebf84b9f424cd42590220db1d3d2b1975389245b3",
-		"index.js": "0ff66205d0c0a3a55456541ca2c244846c872733bb3906457f24eabf045f3330",
-		"module.json": "79187db65e8837a62198d80b16232f4df90dff451ec42a5b752f8b556ce074b3",
+		"README.md": "4a45d40bf0db199fddb6c4c760d7bd3f0ecbe3c1039f7840421b2343d316b04c",
+		"index.js": "3c175a1765c3f8b99ab5f06fbf5cce4d6a85abd53baaa86e5e0cdd05f212389a",
+		"module.json": "d5325a7d7ab7c10d6b906e4e667fad013f12ec6018efd283a60c936a2212303a",
 		"settings_migrator.js": "b6cd4c0b82a975d56663951b7bb9a839201ab90fef123e41902871057831ee95"
 		"settings_migrator.js": "b6cd4c0b82a975d56663951b7bb9a839201ab90fef123e41902871057831ee95"
 	},
 	},
 	"defs": {
 	"defs": {

+ 2 - 2
module.json

@@ -1,9 +1,9 @@
 {
 {
     "disableAutoUpdate": false,
     "disableAutoUpdate": false,
     "name": "Essentials",
     "name": "Essentials",
-    "author": "TeraProxy",
+    "author": "Pinkie Pie / Caali / TeraProxy",
     "description": "A tera-proxy module that automatically uses Nostrum/Battle Solution and Complete Crystalbind items whenever needed.",
     "description": "A tera-proxy module that automatically uses Nostrum/Battle Solution and Complete Crystalbind items whenever needed.",
-    "version": "2.1.0",
+    "version": "2.1.1",
     "donationUrl": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=A3KBZUCSEQ5RJ",
     "donationUrl": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=A3KBZUCSEQ5RJ",
     "options": {
     "options": {
         "niceName": "Essentials",
         "niceName": "Essentials",