Browse Source

fireworks fix, and they work as it's told in readme now

Saegusa 9 years ago
parent
commit
3e2850c467
2 changed files with 5 additions and 3 deletions
  1. 1 0
      config.json
  2. 4 3
      index.js

+ 1 - 0
config.json

@@ -1,6 +1,7 @@
 {
     "debug" : false,
     "state" : 0,
+    "fireworks" : true,
     "classes" : {
         "dps" : [1, 3, 4, 5, 6, 9, 10, 12, 13],
         "healers" : [7, 8],

+ 4 - 3
index.js

@@ -1,5 +1,5 @@
 /*
-//  FpsUtils revision1.2 - Saegusa
+//  FpsUtils revision1.3 - Saegusa
 //  New iterations through player objects,
 //  Should be around 3x faster in process speed.
 //  Also added a bunch more commands and functions
@@ -334,8 +334,9 @@ module.exports = function FpsUtils(dispatch) {
     });
 
     dispatch.hook('S_SPAWN_NPC', 3, (event) => {
-        if(flags.fireworks) {
-            if(event.id.toString().includes('4925812093')) return false;
+        if(!flags.fireworks) {
+            if(event.huntingZoneId === 1023 && (event.templateId === 60016000 || event.templateId === 80037000))
+                return false;
         }
             
     });