[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
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?
Archived author: Telegrill • Posted: 2025-05-05T20:11:32.218000+00:00
Original source
wait, not idle, launched i think
Archived author: Tea • Posted: 2025-05-05T20:12:04.751000+00:00
Original source
no
Archived author: Tea • Posted: 2025-05-05T20:12:13.671000+00:00
Original source
its to simplify memory cleanup
Archived author: Tea • Posted: 2025-05-05T20:12:31.289000+00:00
Original source
SpellEvent is the owner of Spell and does the freeing
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>
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