[DiscordArchive] Actually, why aren’t you using the SAI system to develop your encounter? Is it too complex for that?
[DiscordArchive] Actually, why aren’t you using the SAI system to develop your encounter? Is it too complex for that?
Archived author: Natrist • Posted: 2023-11-09T18:10:41.485000+00:00
Original source
Actually, why aren’t you using the SAI system to develop your encounter? Is it too complex for that?
Archived author: Natrist • Posted: 2023-11-09T18:11:04.463000+00:00
Original source
There are even tools to graphically visualize the logic.
Archived author: Bench • Posted: 2023-11-09T18:11:40.813000+00:00
Original source
Gotta get stock AC to build first before you can propose changes to it
Archived author: Nyeriah • Posted: 2023-11-09T18:11:44.234000+00:00
Original source
<:doggokek:1107595041964310528>
Archived author: Natrist • Posted: 2023-11-09T18:13:09.723000+00:00
Original source
You know I will
Just gotta finish cooking because I just got home from the gym and my body is HANGERY
Archived author: Nyeriah • Posted: 2023-11-09T18:13:29.586000+00:00
Original source
It’s funny that someone who says taskscheduler is illegible suggests scripting it in sai, which needs to be decoded
Archived author: Bench • Posted: 2023-11-09T18:14:01.667000+00:00
Original source
Layer of abstraction, makes it simple to the one implementing
Archived author: Bench • Posted: 2023-11-09T18:14:38.026000+00:00
Original source
But if this is a boss, TC says can't do it in SmartAI so neither can we
Archived author: Natrist • Posted: 2023-11-09T18:14:54.383000+00:00
Original source
Why not?
amageTaken:: Scheduling Enrage for 20% health");Archived author: KJack • Posted: 2023-11-09T18:15:11.612000+00:00
Original source
Good call, it doesn't work if I put it in `DamageTaken` either.
```c++
void DamageTaken(Unit* /*attacker*/, uint32& damage, DamageEffectType, SpellSchoolMask) override
{
// schedule 20% enrage if in tiger phase
if (!_enrageScheduled && me->HasAura(SPELL_TIGER_FORM))
{
LOG_ERROR("scripts.ai", "boss_thekal
amageTaken:: Scheduling Enrage for 20% health");
ScheduleHealthCheckEvent(20, [&] {
LOG_ERROR("scripts.ai", "boss_thekal:CheckPhaseTransition:: Thekal - Enrage @ 20%!");
DoCastSelf(SPELL_ENRAGE);
});
_enrageScheduled = true;
}
}
```
I get the first log ("Scheduling Enrage") but not the one inside the scheduled event. so I am messing up things somewhere else, which I will now endeavor to find. Thanks!