mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Remove whitespace at the end of lines
(cherry picked from commit caae3886d2)
This commit is contained in:
@@ -420,7 +420,7 @@ void PetAI::DoAttack(Unit* target, bool chase)
|
||||
|
||||
if (me->HasUnitState(UNIT_STATE_FOLLOW))
|
||||
me->GetMotionMaster()->Remove(FOLLOW_MOTION_TYPE);
|
||||
|
||||
|
||||
// Pets with ranged attacks should not care about the chase angle at all.
|
||||
float chaseDistance = me->GetPetChaseDistance();
|
||||
float angle = chaseDistance == 0.f ? float(M_PI) : 0.f;
|
||||
|
||||
@@ -81,7 +81,7 @@ void EscortAI::InitializeAI()
|
||||
|
||||
if (me->GetFaction() != me->GetCreatureTemplate()->faction)
|
||||
me->RestoreFaction();
|
||||
|
||||
|
||||
Reset();
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ void EscortAI::EnterEvadeMode(EvadeReason /*why*/)
|
||||
me->RemoveAllAuras();
|
||||
me->CombatStop(true);
|
||||
me->SetLootRecipient(nullptr);
|
||||
|
||||
|
||||
EngagementOver();
|
||||
|
||||
if (HasEscortState(STATE_ESCORT_ESCORTING))
|
||||
|
||||
@@ -250,7 +250,7 @@ class TC_GAME_API Channel
|
||||
|
||||
bool IsOn(ObjectGuid who) const { return _playersStore.find(who) != _playersStore.end(); }
|
||||
bool IsBanned(ObjectGuid guid) const { return _bannedStore.find(guid) != _bannedStore.end(); }
|
||||
|
||||
|
||||
|
||||
uint8 GetPlayerFlags(ObjectGuid const& guid) const
|
||||
{
|
||||
|
||||
@@ -1334,7 +1334,7 @@ public:
|
||||
if (count < 0)
|
||||
{
|
||||
uint32 destroyedItemCount = playerTarget->DestroyItemCount(itemId, -count, true, false);
|
||||
|
||||
|
||||
if (destroyedItemCount > 0)
|
||||
{
|
||||
// output the amount of items successfully destroyed
|
||||
|
||||
@@ -1390,7 +1390,7 @@ public:
|
||||
me->CombatStop(true);
|
||||
me->InterruptNonMeleeSpells(false);
|
||||
me->SetWalk(false);
|
||||
|
||||
|
||||
EngagementOver();
|
||||
|
||||
for (uint8 i = 0; i < ENCOUNTER_DEFENDER_NUMBER; ++i)
|
||||
|
||||
@@ -423,9 +423,9 @@ void hyjalAI::EnterEvadeMode(EvadeReason /*why*/)
|
||||
if (me->GetEntry() != JAINA)
|
||||
me->RemoveAllAuras();
|
||||
me->CombatStop(true);
|
||||
|
||||
|
||||
EngagementOver();
|
||||
|
||||
|
||||
me->LoadCreaturesAddon();
|
||||
if (me->IsAlive())
|
||||
me->GetMotionMaster()->MoveTargetedHome();
|
||||
|
||||
@@ -87,9 +87,9 @@ public:
|
||||
me->CombatStop();
|
||||
me->SetFaction(FACTION_FRIENDLY);
|
||||
me->SetSpeedRate(MOVE_RUN, 0.6f);
|
||||
|
||||
|
||||
EngagementOver();
|
||||
|
||||
|
||||
me->GetMotionMaster()->MoveFollow(caster, PET_FOLLOW_DIST, me->GetFollowAngle());
|
||||
me->setActive(true);
|
||||
me->RemoveNpcFlag(UNIT_NPC_FLAG_GOSSIP);
|
||||
|
||||
@@ -179,9 +179,9 @@ public:
|
||||
me->RemoveAllAuras();
|
||||
me->CombatStop(true);
|
||||
me->StopMoving();
|
||||
|
||||
|
||||
EngagementOver();
|
||||
|
||||
|
||||
me->GetMotionMaster()->MoveIdle();
|
||||
me->SetFaction(FACTION_FRIENDLY);
|
||||
me->HandleEmoteCommand(EMOTE_ONESHOT_SALUTE);
|
||||
|
||||
@@ -1791,7 +1791,7 @@ public:
|
||||
_soundId = BELLTOLLHORDE; // undead bell sound
|
||||
break;
|
||||
default:
|
||||
_soundId = BELLTOLLTRIBAL; // orc drum sound
|
||||
_soundId = BELLTOLLTRIBAL; // orc drum sound
|
||||
break;
|
||||
}
|
||||
break;
|
||||
@@ -1810,7 +1810,7 @@ public:
|
||||
_soundId = BELLTOLLNIGHTELF; // nightelf bell sound
|
||||
break;
|
||||
default:
|
||||
_soundId = BELLTOLLALLIANCE; // human bell sound
|
||||
_soundId = BELLTOLLALLIANCE; // human bell sound
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -182,7 +182,7 @@ public:
|
||||
AirForceSpawn const& _spawn;
|
||||
ObjectGuid _myGuard;
|
||||
std::unordered_set<ObjectGuid> _toAttack;
|
||||
|
||||
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
|
||||
@@ -1173,7 +1173,7 @@ MinQuestScaledXPRatio = 0
|
||||
|
||||
#
|
||||
# MinCreatureScaledXPRatio
|
||||
# Description: Min ratio of experience that a creature kill can grant when player level scaling is factored. This
|
||||
# Description: Min ratio of experience that a creature kill can grant when player level scaling is factored. This
|
||||
# will also allow spell procs to trigger, such as Drain Soul, if > 0 and exp is grantable.
|
||||
# Example: 50 (No less than 50% experience granted from a lower leveled creature kill)
|
||||
# 100 (Creature kills always grant full experience upon kill)
|
||||
|
||||
Reference in New Issue
Block a user