Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] looking at the code though, only the threat list is enough to identify combat targets?

[DiscordArchive] looking at the code though, only the threat list is enough to identify combat targets?

[DiscordArchive] looking at the code though, only the threat list is enough to identify combat targets?

rektbyfaith
Administrator
0
08-08-2023, 04:05 AM
#1
Archived author: Anchy • Posted: 2023-08-08T04:05:05.118000+00:00
Original source

looking at the code though, only the threat list is enough to identify combat targets?
rektbyfaith
08-08-2023, 04:05 AM #1

Archived author: Anchy • Posted: 2023-08-08T04:05:05.118000+00:00
Original source

looking at the code though, only the threat list is enough to identify combat targets?

rektbyfaith
Administrator
0
08-08-2023, 04:05 AM
#2
Archived author: Anchy • Posted: 2023-08-08T04:05:35.598000+00:00
Original source

so maybe, scan threat list and check if both the target and victim are in combat
rektbyfaith
08-08-2023, 04:05 AM #2

Archived author: Anchy • Posted: 2023-08-08T04:05:35.598000+00:00
Original source

so maybe, scan threat list and check if both the target and victim are in combat

rektbyfaith
Administrator
0
08-08-2023, 04:08 AM
#3
Archived author: Rymercyble • Posted: 2023-08-08T04:08:00.382000+00:00
Original source

yes only victims of threat list is enough
rektbyfaith
08-08-2023, 04:08 AM #3

Archived author: Rymercyble • Posted: 2023-08-08T04:08:00.382000+00:00
Original source

yes only victims of threat list is enough

rektbyfaith
Administrator
0
08-08-2023, 04:10 AM
#4
Archived author: Rymercyble • Posted: 2023-08-08T04:10:16.089000+00:00
Original source

i guess doing it through player as unordered map of unordered maps would be best that would be 2x O(1) performance
rektbyfaith
08-08-2023, 04:10 AM #4

Archived author: Rymercyble • Posted: 2023-08-08T04:10:16.089000+00:00
Original source

i guess doing it through player as unordered map of unordered maps would be best that would be 2x O(1) performance

rektbyfaith
Administrator
0
08-08-2023, 04:15 AM
#5
Archived author: Rymercyble • Posted: 2023-08-08T04:15:43.485000+00:00
Original source

its just kind of bad naming bcs victims are individual units no matter who started combat so even if npc attacks u in its hostile ref it is victim

words like victim and target and 1 more i dont remember are in different places used with different meaning which is making mess
rektbyfaith
08-08-2023, 04:15 AM #5

Archived author: Rymercyble • Posted: 2023-08-08T04:15:43.485000+00:00
Original source

its just kind of bad naming bcs victims are individual units no matter who started combat so even if npc attacks u in its hostile ref it is victim

words like victim and target and 1 more i dont remember are in different places used with different meaning which is making mess

rektbyfaith
Administrator
0
08-08-2023, 04:19 AM
#6
Archived author: Anchy • Posted: 2023-08-08T04:19:19.106000+00:00
Original source

rewrite the combat then
rektbyfaith
08-08-2023, 04:19 AM #6

Archived author: Anchy • Posted: 2023-08-08T04:19:19.106000+00:00
Original source

rewrite the combat then

rektbyfaith
Administrator
0
08-08-2023, 04:19 AM
#7
Archived author: Anchy • Posted: 2023-08-08T04:19:23.001000+00:00
Original source

<:kek:1065379143887372398>
rektbyfaith
08-08-2023, 04:19 AM #7

Archived author: Anchy • Posted: 2023-08-08T04:19:23.001000+00:00
Original source

<:kek:1065379143887372398>

rektbyfaith
Administrator
0
08-08-2023, 04:19 AM
#8
Archived author: Rymercyble • Posted: 2023-08-08T04:19:58.517000+00:00
Original source

im losing my mind with stat system currently thank u
rektbyfaith
08-08-2023, 04:19 AM #8

Archived author: Rymercyble • Posted: 2023-08-08T04:19:58.517000+00:00
Original source

im losing my mind with stat system currently thank u

rektbyfaith
Administrator
0
08-08-2023, 04:20 AM
#9
Archived author: Rymercyble • Posted: 2023-08-08T04:20:01.921000+00:00
Original source

rektbyfaith
08-08-2023, 04:20 AM #9

Archived author: Rymercyble • Posted: 2023-08-08T04:20:01.921000+00:00
Original source

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