|
@@ -135,6 +135,8 @@ class unitFps {
|
|
|
|
|
|
|
|
const isNpcBlockable = (event) => {
|
|
const isNpcBlockable = (event) => {
|
|
|
if (data.activeMode.blockNpcs) {
|
|
if (data.activeMode.blockNpcs) {
|
|
|
|
|
+ if(event.bySpawnEvent) return false;
|
|
|
|
|
+
|
|
|
if (utils.arraysHasIntersect(event.templateId, data.activeMode.blockNpcs.templateId))
|
|
if (utils.arraysHasIntersect(event.templateId, data.activeMode.blockNpcs.templateId))
|
|
|
return true;
|
|
return true;
|
|
|
else if (utils.arraysHasIntersect(event.huntingZoneId, data.activeMode.blockNpcs.huntingZoneId))
|
|
else if (utils.arraysHasIntersect(event.huntingZoneId, data.activeMode.blockNpcs.huntingZoneId))
|