TeraProxy 8 years ago
parent
commit
2d9614084a
3 changed files with 7 additions and 6 deletions
  1. 2 0
      README.md
  2. 3 4
      index.js
  3. 2 2
      manifest.json

+ 2 - 0
README.md

@@ -38,6 +38,8 @@ Contains code from true-everful-nostrum by Pinkie Pie https://github.com/pinkipi
 ## Changelog
 ## Changelog
 <details>
 <details>
 
 
+### 1.3.5
+* [*] Fixed trying to use CCB when you are under the influence of the 1h CCB
 ### 1.3.4
 ### 1.3.4
 * [+] Added option to use Prime Battle Solution instead of Everful Nostrum
 * [+] Added option to use Prime Battle Solution instead of Everful Nostrum
 * [*] Fixed a weird case-sensitivity issue
 * [*] Fixed a weird case-sensitivity issue

+ 3 - 4
index.js

@@ -1,4 +1,4 @@
-// Version 1.3.4
+// Version 1.3.5
 // Contains code from true-everful-nostrum by Pinkie Pie https://github.com/pinkipi
 // Contains code from true-everful-nostrum by Pinkie Pie https://github.com/pinkipi
 
 
 'use strict'
 'use strict'
@@ -13,8 +13,7 @@ const ITEMS_NOSTRUM = [152898, 184659, 201005, 201006, 201007, 201008, 201022, 8
 	BUFF_BLESSING = 1134,
 	BUFF_BLESSING = 1134,
 	BUFF_NOSTRUM_TD = [4020, 4030], // Nostrum abnormality for Tanks and Damage Dealers (pleb, elite)
 	BUFF_NOSTRUM_TD = [4020, 4030], // Nostrum abnormality for Tanks and Damage Dealers (pleb, elite)
 	BUFF_NOSTRUM_H = [4021, 4031], // Nostrum abnormality for Healers (pleb, elite)
 	BUFF_NOSTRUM_H = [4021, 4031], // Nostrum abnormality for Healers (pleb, elite)
-	BUFF_CCB = 4610, // Complete Crystalbind abnormality
-	BUFF_ConCB = 5020003, // Continuous Crystalbind abnormality
+	BUFF_CCB = [4610, 4612, 5020003], // Complete Crystalbind abnormality (12h, 1h, elite)
 	RANDOM_MIN_MAX = [600000, 1500000], // Random Nostrum reapplication time (10 - 25 minutes)
 	RANDOM_MIN_MAX = [600000, 1500000], // Random Nostrum reapplication time (10 - 25 minutes)
 	RANDOM_SHORT = [4000, 8000] // Random Nostrum reapplication time after loading (4 - 8 seconds)
 	RANDOM_SHORT = [4000, 8000] // Random Nostrum reapplication time after loading (4 - 8 seconds)
 
 
@@ -98,7 +97,7 @@ module.exports = function essentials(dispatch) {
 					nostrum()
 					nostrum()
 				}
 				}
 			}
 			}
-			if(event.id == BUFF_CCB || event.id == BUFF_ConCB) {
+			if(BUFF_CCB.includes(event.id)) {
 				hasccb = type != 'S_ABNORMALITY_END'
 				hasccb = type != 'S_ABNORMALITY_END'
 				if(!hasccb) ccb()
 				if(!hasccb) ccb()
 			}
 			}

+ 2 - 2
manifest.json

@@ -1,8 +1,8 @@
 {
 {
 	"files": {
 	"files": {
-		"index.js": "22f11a4112ab57f62677398fc0b72a893f8bbd4a65a5ddfcea84025ea10d572f",
+		"index.js": "d96170ed32c5a90e53fa078224d1beee98afbfe99c117fb19ed30254884de9c0",
 		"LICENSE": "589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2",
 		"LICENSE": "589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2",
-		"README.md": "5b6887a13eab56ab30547046338681843063af40ecf72cb14c356acdd160620f",
+		"README.md": "cac516045935ec10424b56ee391afecee7640f59bd6162ce86d1159c3078291f",
 		"module.json": "4475b48560557f54b45de6542301c25a0f6fbb50d2d4489906ded2ddd8ac7f5f",
 		"module.json": "4475b48560557f54b45de6542301c25a0f6fbb50d2d4489906ded2ddd8ac7f5f",
 		"config.json": {
 		"config.json": {
 			"overwrite": false,
 			"overwrite": false,