mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
Core/Units: Rename AnimationTier to AnimTier for consistency with master branch
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user