Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] I have a spawned creature that should attack other NPCs in specific order that I'm scripting with `C

[DiscordArchive] I have a spawned creature that should attack other NPCs in specific order that I'm scripting with `C

[DiscordArchive] I have a spawned creature that should attack other NPCs in specific order that I'm scripting with `C

rektbyfaith
Administrator
0
08-28-2022, 07:09 PM
#1
Archived author: Sogla • Posted: 2022-08-28T19:09:25.703000+00:00
Original source

I have a spawned creature that should attack other NPCs in specific order that I'm scripting with `CreatureAI`. I've tried `me->AddThreat(target, 1000000.f);` and adding higher threat for higher prio, but seems to not work. Is there a better way to set a priority for specific creatures by `ID` or `GUID`?
rektbyfaith
08-28-2022, 07:09 PM #1

Archived author: Sogla • Posted: 2022-08-28T19:09:25.703000+00:00
Original source

I have a spawned creature that should attack other NPCs in specific order that I'm scripting with `CreatureAI`. I've tried `me->AddThreat(target, 1000000.f);` and adding higher threat for higher prio, but seems to not work. Is there a better way to set a priority for specific creatures by `ID` or `GUID`?

rektbyfaith
Administrator
0
08-28-2022, 07:24 PM
#2
Archived author: Revision • Posted: 2022-08-28T19:24:34.153000+00:00
Original source

You can't compare vanilla to wotlk like that - of course a lot of things will be different. Aggro is fine.
rektbyfaith
08-28-2022, 07:24 PM #2

Archived author: Revision • Posted: 2022-08-28T19:24:34.153000+00:00
Original source

You can't compare vanilla to wotlk like that - of course a lot of things will be different. Aggro is fine.

rektbyfaith
Administrator
0
08-28-2022, 07:25 PM
#3
Archived author: Kek • Posted: 2022-08-28T19:25:14.335000+00:00
Original source

The damage values will be a little weird at the lower end due to the values being floored and not rounded, so 1.9 will turn into 1 instead of 2
rektbyfaith
08-28-2022, 07:25 PM #3

Archived author: Kek • Posted: 2022-08-28T19:25:14.335000+00:00
Original source

The damage values will be a little weird at the lower end due to the values being floored and not rounded, so 1.9 will turn into 1 instead of 2

rektbyfaith
Administrator
0
08-28-2022, 07:27 PM
#4
Archived author: Revision • Posted: 2022-08-28T19:27:22.636000+00:00
Original source

Oh yeah. Well, either way AC aims to be blizzlike and not some custom stuff
rektbyfaith
08-28-2022, 07:27 PM #4

Archived author: Revision • Posted: 2022-08-28T19:27:22.636000+00:00
Original source

Oh yeah. Well, either way AC aims to be blizzlike and not some custom stuff

rektbyfaith
Administrator
0
08-28-2022, 07:27 PM
#5
Archived author: Kek • Posted: 2022-08-28T19:27:30.378000+00:00
Original source

Found the issue, it's the auto downrank aura buffs
rektbyfaith
08-28-2022, 07:27 PM #5

Archived author: Kek • Posted: 2022-08-28T19:27:30.378000+00:00
Original source

Found the issue, it's the auto downrank aura buffs

rektbyfaith
Administrator
0
08-28-2022, 07:39 PM
#6
Archived author: Dreadmaster • Posted: 2022-08-28T19:39:27.949000+00:00
Original source

remind me what i gotta do to update spell tooltips, weapons are easy you just gotta clear the cache iirc
rektbyfaith
08-28-2022, 07:39 PM #6

Archived author: Dreadmaster • Posted: 2022-08-28T19:39:27.949000+00:00
Original source

remind me what i gotta do to update spell tooltips, weapons are easy you just gotta clear the cache iirc

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