Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] i see that in Spell::prepare we create a SpellEvent even if the spell is instant, is it because some

[DiscordArchive] i see that in Spell::prepare we create a SpellEvent even if the spell is instant, is it because some

[DiscordArchive] i see that in Spell::prepare we create a SpellEvent even if the spell is instant, is it because some

rektbyfaith
Administrator
0
05-05-2025, 08:10 PM
#1
Archived author: Telegrill • Posted: 2025-05-05T20:10:28.022000+00:00
Original source

i see that in Spell::prepare we create a SpellEvent even if the spell is instant, is it because some spells have delays or missile behavior that requires delayed impacts through SPELL_STATE_DELAYED (or SPELL_STATE_IDLE now), meaning that any spell goes through SpellEvent::Execute?
rektbyfaith
05-05-2025, 08:10 PM #1

Archived author: Telegrill • Posted: 2025-05-05T20:10:28.022000+00:00
Original source

i see that in Spell::prepare we create a SpellEvent even if the spell is instant, is it because some spells have delays or missile behavior that requires delayed impacts through SPELL_STATE_DELAYED (or SPELL_STATE_IDLE now), meaning that any spell goes through SpellEvent::Execute?

rektbyfaith
Administrator
0
05-05-2025, 08:11 PM
#2
Archived author: Telegrill • Posted: 2025-05-05T20:11:32.218000+00:00
Original source

wait, not idle, launched i think
rektbyfaith
05-05-2025, 08:11 PM #2

Archived author: Telegrill • Posted: 2025-05-05T20:11:32.218000+00:00
Original source

wait, not idle, launched i think

rektbyfaith
Administrator
0
05-05-2025, 08:12 PM
#3
Archived author: Tea • Posted: 2025-05-05T20:12:04.751000+00:00
Original source

no
rektbyfaith
05-05-2025, 08:12 PM #3

Archived author: Tea • Posted: 2025-05-05T20:12:04.751000+00:00
Original source

no

rektbyfaith
Administrator
0
05-05-2025, 08:12 PM
#4
Archived author: Tea • Posted: 2025-05-05T20:12:13.671000+00:00
Original source

its to simplify memory cleanup
rektbyfaith
05-05-2025, 08:12 PM #4

Archived author: Tea • Posted: 2025-05-05T20:12:13.671000+00:00
Original source

its to simplify memory cleanup

rektbyfaith
Administrator
0
05-05-2025, 08:12 PM
#5
Archived author: Tea • Posted: 2025-05-05T20:12:31.289000+00:00
Original source

SpellEvent is the owner of Spell and does the freeing
rektbyfaith
05-05-2025, 08:12 PM #5

Archived author: Tea • Posted: 2025-05-05T20:12:31.289000+00:00
Original source

SpellEvent is the owner of Spell and does the freeing

rektbyfaith
Administrator
0
05-05-2025, 08:14 PM
#6
Archived author: Telegrill • Posted: 2025-05-05T20:14:12.820000+00:00
Original source

oh, well, i was pretty far off the correct answer <:beenie:770403425149779968>
rektbyfaith
05-05-2025, 08:14 PM #6

Archived author: Telegrill • Posted: 2025-05-05T20:14:12.820000+00:00
Original source

oh, well, i was pretty far off the correct answer <:beenie:770403425149779968>

rektbyfaith
Administrator
0
05-05-2025, 08:15 PM
#7
Archived author: Telegrill • Posted: 2025-05-05T20:15:21.907000+00:00
Original source

trying to understand this massive exchange of information and data processing is oof
rektbyfaith
05-05-2025, 08:15 PM #7

Archived author: Telegrill • Posted: 2025-05-05T20:15:21.907000+00:00
Original source

trying to understand this massive exchange of information and data processing is oof

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