Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] a little problem. How do I get my guards not to attack my boss's adds? I already set the boss to set

[DiscordArchive] a little problem. How do I get my guards not to attack my boss's adds? I already set the boss to set

[DiscordArchive] a little problem. How do I get my guards not to attack my boss's adds? I already set the boss to set

rektbyfaith
Administrator
0
08-17-2022, 12:09 PM
#1
Archived author: Krutok • Posted: 2022-08-17T12:09:52.239000+00:00
Original source

a little problem. How do I get my guards not to attack my boss's adds? I already set the boss to set immune npc, but how do I do that in code?
rektbyfaith
08-17-2022, 12:09 PM #1

Archived author: Krutok • Posted: 2022-08-17T12:09:52.239000+00:00
Original source

a little problem. How do I get my guards not to attack my boss's adds? I already set the boss to set immune npc, but how do I do that in code?

rektbyfaith
Administrator
0
08-17-2022, 12:09 PM
#2
Archived author: Krutok • Posted: 2022-08-17T12:09:58.289000+00:00
Original source

here the code: case EVENT_SUMMON_WATER_ELEMENTAL:
if (summons.empty())
DoCast(SPELL_SUMMON_WATER_ELEMENTAL);
events.ScheduleEvent(EVENT_SUMMON_WATER_ELEMENTAL, 50s); // after summoing water elemental repeat summon after 50 seconds
break;
rektbyfaith
08-17-2022, 12:09 PM #2

Archived author: Krutok • Posted: 2022-08-17T12:09:58.289000+00:00
Original source

here the code: case EVENT_SUMMON_WATER_ELEMENTAL:
if (summons.empty())
DoCast(SPELL_SUMMON_WATER_ELEMENTAL);
events.ScheduleEvent(EVENT_SUMMON_WATER_ELEMENTAL, 50s); // after summoing water elemental repeat summon after 50 seconds
break;

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)