|
|
@@ -21,7 +21,6 @@ const utils = require("./helpers/utils");
|
|
|
const { RAW_HOOK_MODE, HOOK_SETTINGS, ABN, EVENTS } = require("./helpers/enums");
|
|
|
|
|
|
//types for abnormals to find in client data
|
|
|
-const huntingRewards = [ABN.HuntingGoldModifier, ABN.QuestingGoldModifier, ABN.ReputationBoostModifier, ABN.EPExp];
|
|
|
const shapeChangers = [ABN.BigHead, ABN.ShapeChanger];
|
|
|
const onScreenEffects = [ABN.FX, ABN.PostProcessingEffect, ABN.CCB];
|
|
|
|
|
|
@@ -50,7 +49,6 @@ class unitState extends EventEmitter {
|
|
|
"lockedPacketsData": [],
|
|
|
"throttlePacketsData": [],
|
|
|
//lookup structures
|
|
|
- "huntingRewardsBuffs": new Set(),
|
|
|
"shapeChangersBuffs": new Set(),
|
|
|
"onScreenEffectsBuffs": new Set(),
|
|
|
"smtData": new Set()
|
|
|
@@ -58,8 +56,6 @@ class unitState extends EventEmitter {
|
|
|
|
|
|
deps.mod.game.data.abnormalities.forEach(abnormality => {
|
|
|
let types = abnormality.effects.map(x => x.type);
|
|
|
- if (utils.arraysHasIntersect(types, huntingRewards))
|
|
|
- this.huntingRewardsBuffs.add(abnormality.id);
|
|
|
if (utils.arraysHasIntersect(types, shapeChangers))
|
|
|
this.shapeChangersBuffs.add(abnormality.id);
|
|
|
if (utils.arraysHasIntersect(types, onScreenEffects))
|