Exception in assist trigger

Report bugs and suggest new features for the web client here.

Moderator: Eowul

Forum rules
- Use common sense and be respectful towards each other at all times, even when disagreeing.
- Do not reveal sensitive game information. Guild secrets, player seconds are examples of things not allowed.
Post Reply
User avatar
Posts: 67
Joined: 23 Sep 2014 20:33

Exception in assist trigger

Post by kirsach » 04 Feb 2016 01:37


I would like to ask if any of you have idea how to implement exception in mobs we assist our leaders in assist triger. I think all of us have auto assist triger. But there are some mobs we would not like to assist and begin a fight. For instnace Monks for sure dont want to assist in fights with dragons, most of us would avoid fight with guards in Gelan or foreman in Sybarus, some would not want to fight with Morgul Mages npc, etc. There are limited number of npc we dont want to fight. But I dont have idea how to implement it into trigger and dont make this trigger very complex and "heavy".

Posts: 3
Joined: 14 Feb 2020 01:29

Re: Exception in assist trigger

Post by chevrotain » 21 Feb 2020 04:21

Code: Select all

noAttacks = ['Emerald', 'ancient green dragon', etc...];
if (!noAttacks.includes(args[1])  gwc.connection.send('assist');

Post Reply