Forums WoW Modding Support Archives Azerothcore Discord Archives [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?

[DiscordArchive] Actually, why aren’t you using the SAI system to develop your encounter? Is it too complex for that?

Pages (6): 1 2 3 4 5 6 Next
rektbyfaith
Administrator
0
11-09-2023, 06:10 PM
#1
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?
rektbyfaith
11-09-2023, 06:10 PM #1

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?

rektbyfaith
Administrator
0
11-09-2023, 06:11 PM
#2
Archived author: Natrist • Posted: 2023-11-09T18:11:04.463000+00:00
Original source

There are even tools to graphically visualize the logic.
rektbyfaith
11-09-2023, 06:11 PM #2

Archived author: Natrist • Posted: 2023-11-09T18:11:04.463000+00:00
Original source

There are even tools to graphically visualize the logic.

rektbyfaith
Administrator
0
11-09-2023, 06:11 PM
#3
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
rektbyfaith
11-09-2023, 06:11 PM #3

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

rektbyfaith
Administrator
0
11-09-2023, 06:11 PM
#4
Archived author: Nyeriah • Posted: 2023-11-09T18:11:44.234000+00:00
Original source

<:doggokek:1107595041964310528>
rektbyfaith
11-09-2023, 06:11 PM #4

Archived author: Nyeriah • Posted: 2023-11-09T18:11:44.234000+00:00
Original source

<:doggokek:1107595041964310528>

rektbyfaith
Administrator
0
11-09-2023, 06:13 PM
#5
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
rektbyfaith
11-09-2023, 06:13 PM #5

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

rektbyfaith
Administrator
0
11-09-2023, 06:13 PM
#6
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
rektbyfaith
11-09-2023, 06:13 PM #6

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

rektbyfaith
Administrator
0
11-09-2023, 06:14 PM
#7
Archived author: Bench • Posted: 2023-11-09T18:14:01.667000+00:00
Original source

Layer of abstraction, makes it simple to the one implementing
rektbyfaith
11-09-2023, 06:14 PM #7

Archived author: Bench • Posted: 2023-11-09T18:14:01.667000+00:00
Original source

Layer of abstraction, makes it simple to the one implementing

rektbyfaith
Administrator
0
11-09-2023, 06:14 PM
#8
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
rektbyfaith
11-09-2023, 06:14 PM #8

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

rektbyfaith
Administrator
0
11-09-2023, 06:14 PM
#9
Archived author: Natrist • Posted: 2023-11-09T18:14:54.383000+00:00
Original source

Why not?
rektbyfaith
11-09-2023, 06:14 PM #9

Archived author: Natrist • Posted: 2023-11-09T18:14:54.383000+00:00
Original source

Why not?

rektbyfaith
Administrator
0
11-09-2023, 06:15 PM
#10
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_thekalBig GrinamageTaken:: 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!
rektbyfaith
11-09-2023, 06:15 PM #10

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_thekalBig GrinamageTaken:: 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!

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