Core/Units: Rename AnimationTier to AnimTier for consistency with master branch

This commit is contained in:
Shauren
2022-03-24 20:38:55 +01:00
parent 88eccd2956
commit 62c2ceaff2
16 changed files with 47 additions and 47 deletions

View File

@@ -251,7 +251,7 @@ struct boss_jedoga_shadowseeker : public BossAI
if (_initiateGUIDS.empty())
{
DoCastSelf(SPELL_HOVER_FALL_1);
me->SetAnimationTier(AnimationTier::Ground);
me->SetAnimTier(AnimTier::Ground);
events.ScheduleEvent(EVENT_START_FIGHT_1, Seconds(1));
}
}

View File

@@ -210,7 +210,7 @@ struct boss_blood_queen_lana_thel : public BossAI
if (Creature* minchar = me->FindNearestCreature(NPC_INFILTRATOR_MINCHAR_BQ, 200.0f))
{
minchar->SetUInt32Value(UNIT_NPC_EMOTESTATE, 0);
minchar->SetAnimationTier(AnimationTier::Ground);
minchar->SetAnimTier(AnimTier::Ground);
minchar->SetCanFly(false);
minchar->RemoveAllAuras();
minchar->GetMotionMaster()->MoveCharge(4629.3711f, 2782.6089f, 401.5301f, SPEED_CHARGE / 3.0f);
@@ -399,7 +399,7 @@ struct boss_blood_queen_lana_thel : public BossAI
break;
}
case EVENT_DELIRIOUS_SLASH:
if (_offtankGUID && me->GetAnimationTier() != AnimationTier::Fly)
if (_offtankGUID && me->GetAnimTier() != AnimTier::Fly)
if (Player* _offtank = ObjectAccessor::GetPlayer(*me, _offtankGUID))
DoCast(_offtank, SPELL_DELIRIOUS_SLASH);
events.ScheduleEvent(EVENT_DELIRIOUS_SLASH, 20s, 24s, EVENT_GROUP_NORMAL);

View File

@@ -1133,7 +1133,7 @@ class boss_aerial_command_unit : public CreatureScript
me->SetReactState(REACT_PASSIVE);
me->AttackStop();
me->SetDisableGravity(true);
me->SetAnimationTier(AnimationTier::Ground);
me->SetAnimTier(AnimTier::Ground);
DoCastSelf(SPELL_VEHICLE_DAMAGED, true);

View File

@@ -209,7 +209,7 @@ struct npc_enslaved_proto_drake : public ScriptedAI
{
if (type == WAYPOINT_MOTION_TYPE && id == POINT_LAST)
{
me->SetAnimationTier(AnimationTier::Ground);
me->SetAnimTier(AnimTier::Ground);
}
}
@@ -218,7 +218,7 @@ struct npc_enslaved_proto_drake : public ScriptedAI
if (type == TYPE_PROTODRAKE_AT && data == DATA_PROTODRAKE_MOVE && !_setData && me->GetDistance(protodrakeCheckPos) < 5.0f)
{
_setData = true;
me->SetAnimationTier(AnimationTier::Fly);
me->SetAnimTier(AnimTier::Fly);
me->GetMotionMaster()->MovePath(PATH_PROTODRAKE, false);
}
}