|
|
@@ -52,7 +52,9 @@ class unitState extends EventEmitter {
|
|
|
"shapeChangersBuffs": new Set(),
|
|
|
"onScreenEffectsBuffs": new Set(),
|
|
|
"smtData": new Set(),
|
|
|
- "specialAs": new Set()
|
|
|
+ "specialAs": new Set(),
|
|
|
+ "whitelistAbnormals": new Set(),
|
|
|
+ "whitelistProjectiles": new Set()
|
|
|
});
|
|
|
|
|
|
deps.mod.game.data.abnormalities.forEach(abnormality => {
|
|
|
@@ -86,6 +88,8 @@ class unitState extends EventEmitter {
|
|
|
this.lockedPacketsData = staticData.blockedProto;
|
|
|
this.throttlePacketsData = staticData.throttledProto;
|
|
|
this.smtData = new Set(...staticData.blockedSmt);
|
|
|
+ this.whitelistAbnormals = new Set(...staticData.excludedAbnormals);
|
|
|
+ this.whitelistProjectiles = new Set(...staticData.excludedProjectiles);
|
|
|
|
|
|
this.__mod.hook("S_LOGIN", RAW_HOOK_MODE.EVENT, HOOK_SETTINGS.FIRST, () => {
|
|
|
this.lockedMode = false;
|