[DiscordArchive] <@251803844307189761> Totally understood, UpdateAI is not the place. However, the code is above the
[DiscordArchive] <@251803844307189761> Totally understood, UpdateAI is not the place. However, the code is above the
Archived author: Devon • Posted: 2023-02-27T21:35:07.218000+00:00
Original source
<@251803844307189761> Totally understood, UpdateAI is not the place. However, the code is above the early return. If we do not get to call `scheduler.Update` then none of the scheduled tasks get updated from higher up the code?
Archived author: Nyeriah • Posted: 2023-02-27T21:35:32.274000+00:00
Original source
Yes because that’s what updates the timers
Archived author: Nyeriah • Posted: 2023-02-27T21:36:01.882000+00:00
Original source
In that code snippet timers are never updated outside combat
Archived author: Nyeriah • Posted: 2023-02-27T21:36:20.707000+00:00
Original source
Because then it has no victim
Archived author: Nyeriah • Posted: 2023-02-27T21:36:32.095000+00:00
Original source
So it returns at UpdateVictim()
Archived author: Devon • Posted: 2023-02-27T21:36:35.458000+00:00
Original source
Yeah
Archived author: Devon • Posted: 2023-02-27T21:37:04.763000+00:00
Original source
The current update that you highlighted, it's updating all the tasks, but also in "parallel" calling the melee function?
Archived author: Nyeriah • Posted: 2023-02-27T21:37:19.025000+00:00
Original source
Yes the event is linked
Archived author: Nyeriah • Posted: 2023-02-27T21:37:28.191000+00:00
Original source
Bound
Archived author: Nyeriah • Posted: 2023-02-27T21:37:57.605000+00:00
Original source
So when we update it also calls a autoattack