Scripts/VP: removed SetHover script call from Altairus' script to avoid a duplicate application of the hover offset

*set the anim tier in database
This commit is contained in:
Ovahlord committed 2023-08-24 20:36:58 +02:00
1 parent a1e0459859
commit 4e469f7fe0
2 files changed
+3 -5

No files matched your search

@@ -0,0 +1 @@
UPDATE `creature_template_addon` SET `AnimTier`= 2 WHERE `entry` IN (43873, 43874);
@@ -101,15 +101,12 @@ Position const TwisterSpawnPoints[POINT_TWISTER_MAX] =
struct boss_altairus : public BossAI struct boss_altairus : public BossAI
{ {
boss_altairus(Creature* creature) : BossAI(creature, DATA_ALTAIRUS) boss_altairus(Creature* creature) : BossAI(creature, DATA_ALTAIRUS) { }
{
me->SetHover(true);
}
void JustEngagedWith(Unit* who) override void JustEngagedWith(Unit* who) override
{ {
BossAI::JustEngagedWith(who); BossAI::JustEngagedWith(who);
instance->SendEncounterUnit(ENCOUNTER_FRAME_ENGAGE, me); instance->SendEncounterUnit(ENCOUNTER_FRAME_ENGAGE, me, 1);
events.ScheduleEvent(EVENT_CALL_THE_WIND, 6s); events.ScheduleEvent(EVENT_CALL_THE_WIND, 6s);
events.ScheduleEvent(EVENT_CHILLING_BREATH, 10s, 14s); events.ScheduleEvent(EVENT_CHILLING_BREATH, 10s, 14s);