Page 1 of 1

Exception in assist trigger

Posted: 04 Feb 2016 01:37
by kirsach
Hello

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".

Re: Exception in assist trigger

Posted: 21 Feb 2020 04:21
by chevrotain

Code: Select all

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