Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] In current server TC/AC architecture could an aura outlast it's owner? Like a creature applying a pe

[DiscordArchive] In current server TC/AC architecture could an aura outlast it's owner? Like a creature applying a pe

[DiscordArchive] In current server TC/AC architecture could an aura outlast it's owner? Like a creature applying a pe

Pages (4): 1 2 3 4 Next
rektbyfaith
Administrator
0
08-03-2022, 07:44 PM
#1
Archived author: whatwere • Posted: 2022-08-03T19:44:17.255000+00:00
Original source

In current server TC/AC architecture could an aura outlast it's owner? Like a creature applying a permanent DoT that steals health from the target and brings it to the unit, if it despawns is the creature object going to be deleted or is it going to wait for the aura to expire? And what if said creature is an Army of the Dead ghoul?
rektbyfaith
08-03-2022, 07:44 PM #1

Archived author: whatwere • Posted: 2022-08-03T19:44:17.255000+00:00
Original source

In current server TC/AC architecture could an aura outlast it's owner? Like a creature applying a permanent DoT that steals health from the target and brings it to the unit, if it despawns is the creature object going to be deleted or is it going to wait for the aura to expire? And what if said creature is an Army of the Dead ghoul?

rektbyfaith
Administrator
0
08-03-2022, 07:45 PM
#2
Archived author: tb • Posted: 2022-08-03T19:45:32.219000+00:00
Original source

Yes, auras can exist without the owner on most aura types
rektbyfaith
08-03-2022, 07:45 PM #2

Archived author: tb • Posted: 2022-08-03T19:45:32.219000+00:00
Original source

Yes, auras can exist without the owner on most aura types

rektbyfaith
Administrator
0
08-03-2022, 07:47 PM
#3
Archived author: whatwere • Posted: 2022-08-03T19:47:46.110000+00:00
Original source

Isn't that problematic for checking get owner? I guess I should just get rid of all auras on unit removal for the sake of getting rid of headaches.
rektbyfaith
08-03-2022, 07:47 PM #3

Archived author: whatwere • Posted: 2022-08-03T19:47:46.110000+00:00
Original source

Isn't that problematic for checking get owner? I guess I should just get rid of all auras on unit removal for the sake of getting rid of headaches.

rektbyfaith
Administrator
0
08-03-2022, 07:49 PM
#4
Archived author: tb • Posted: 2022-08-03T19:49:44.299000+00:00
Original source

Anything that needs the caster skips over the part of needing the caster
rektbyfaith
08-03-2022, 07:49 PM #4

Archived author: tb • Posted: 2022-08-03T19:49:44.299000+00:00
Original source

Anything that needs the caster skips over the part of needing the caster

rektbyfaith
Administrator
0
08-03-2022, 07:50 PM
#5
Archived author: tb • Posted: 2022-08-03T19:50:10.349000+00:00
Original source

Its like this because of being able to logout and have auras still exist
rektbyfaith
08-03-2022, 07:50 PM #5

Archived author: tb • Posted: 2022-08-03T19:50:10.349000+00:00
Original source

Its like this because of being able to logout and have auras still exist

rektbyfaith
Administrator
0
08-03-2022, 07:50 PM
#6
Archived author: <o> • Posted: 2022-08-03T19:50:38.916000+00:00
Original source

it's problematic if you assume the owner exists. You can check `AuraEffects.cpp` for how it's commonly handled, lifesteals or pairing spells always check before accessing them
rektbyfaith
08-03-2022, 07:50 PM #6

Archived author: <o> • Posted: 2022-08-03T19:50:38.916000+00:00
Original source

it's problematic if you assume the owner exists. You can check `AuraEffects.cpp` for how it's commonly handled, lifesteals or pairing spells always check before accessing them

rektbyfaith
Administrator
0
08-03-2022, 07:50 PM
#7
Archived author: tb • Posted: 2022-08-03T19:50:44.078000+00:00
Original source

Like a warlock can case immolate on you then logout and the aura will function
rektbyfaith
08-03-2022, 07:50 PM #7

Archived author: tb • Posted: 2022-08-03T19:50:44.078000+00:00
Original source

Like a warlock can case immolate on you then logout and the aura will function

rektbyfaith
Administrator
0
08-03-2022, 07:50 PM
#8
Archived author: whatwere • Posted: 2022-08-03T19:50:56.580000+00:00
Original source

I'm relying a lot on custom scripts and I don't want to deref nullptr.
rektbyfaith
08-03-2022, 07:50 PM #8

Archived author: whatwere • Posted: 2022-08-03T19:50:56.580000+00:00
Original source

I'm relying a lot on custom scripts and I don't want to deref nullptr.

rektbyfaith
Administrator
0
08-03-2022, 07:51 PM
#9
Archived author: <o> • Posted: 2022-08-03T19:51:15.065000+00:00
Original source

so check it before you deref
rektbyfaith
08-03-2022, 07:51 PM #9

Archived author: <o> • Posted: 2022-08-03T19:51:15.065000+00:00
Original source

so check it before you deref

rektbyfaith
Administrator
0
08-03-2022, 07:51 PM
#10
Archived author: tb • Posted: 2022-08-03T19:51:27.148000+00:00
Original source

As long as your script checks if the caster exists before trying to access it you should be fine
rektbyfaith
08-03-2022, 07:51 PM #10

Archived author: tb • Posted: 2022-08-03T19:51:27.148000+00:00
Original source

As long as your script checks if the caster exists before trying to access it you should be fine

Pages (4): 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)