Core: Remove some whitespace and tabs
This commit is contained in:
@@ -1294,7 +1294,7 @@ bool ConditionMgr::isSourceTypeValid(Condition* cond)
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
switch (spellInfo->Effects[i].TargetB.GetSelectionCategory())
|
||||
{
|
||||
case TARGET_SELECT_CATEGORY_NEARBY:
|
||||
|
||||
@@ -89,10 +89,10 @@ enum ConditionTypes
|
||||
The following steps only apply if your condition can be grouped:
|
||||
|
||||
Step 6: Determine how you are going to store your conditions. You need to add a new storage container
|
||||
for it in ConditionMgr class, along with a function like:
|
||||
for it in ConditionMgr class, along with a function like:
|
||||
ConditionList GetConditionsForXXXYourNewSourceTypeXXX(parameters...)
|
||||
|
||||
The above function should be placed in upper level (practical) code that actually
|
||||
The above function should be placed in upper level (practical) code that actually
|
||||
checks the conditions.
|
||||
|
||||
Step 7: Implement loading for your source type in ConditionMgr::LoadConditions.
|
||||
|
||||
@@ -207,7 +207,7 @@ void WorldSession::HandleCalendarGuildFilter(WorldPacket& recvData)
|
||||
void WorldSession::HandleCalendarArenaTeam(WorldPacket& recvData)
|
||||
{
|
||||
sLog->outDebug(LOG_FILTER_NETWORKIO, "CMSG_CALENDAR_ARENA_TEAM [" UI64FMTD "]", _player->GetGUID());
|
||||
|
||||
|
||||
int32 unk1;
|
||||
recvData >> unk1;
|
||||
|
||||
|
||||
@@ -40,12 +40,12 @@ void TargetedMovementGeneratorMedium<T,D>::_setTargetLocation(T &owner)
|
||||
float x, y, z;
|
||||
//! Following block of code deleted by MrSmite in issue 4891
|
||||
//! Code kept for learning and diagnostical purposes
|
||||
//
|
||||
//
|
||||
// if (i_offset && i_target->IsWithinDistInMap(&owner,2*i_offset))
|
||||
// {
|
||||
// if (!owner.movespline->Finalized())
|
||||
// return;
|
||||
//
|
||||
//
|
||||
// owner.GetPosition(x, y, z);
|
||||
// }
|
||||
// else
|
||||
|
||||
@@ -6444,7 +6444,7 @@ void Spell::UpdatePointers()
|
||||
SpellDestination& dest = m_destTargets[effIndex];
|
||||
if (!dest._transportGUID)
|
||||
continue;
|
||||
|
||||
|
||||
if (!transport || transport->GetGUID() != dest._transportGUID)
|
||||
transport = ObjectAccessor::GetWorldObject(*m_caster, dest._transportGUID);
|
||||
|
||||
|
||||
@@ -1303,10 +1303,10 @@ public:
|
||||
return false;
|
||||
|
||||
char* mask2 = strtok(NULL, " \n");
|
||||
|
||||
|
||||
uint32 moveFlags = (uint32)atoi(mask1);
|
||||
target->SetUnitMovementFlags(moveFlags);
|
||||
|
||||
|
||||
if (mask2)
|
||||
{
|
||||
uint32 moveFlagsExtra = uint32(atoi(mask2));
|
||||
@@ -1316,7 +1316,7 @@ public:
|
||||
target->SendMovementFlagUpdate();
|
||||
handler->PSendSysMessage(LANG_MOVEFLAGS_SET, target->GetUnitMovementFlags(), target->GetExtraUnitMovementFlags());
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -241,7 +241,7 @@ public:
|
||||
_cannotMove = true;
|
||||
|
||||
me->SetFlying(true);
|
||||
|
||||
|
||||
if (instance)
|
||||
instance->DoStopTimedAchievement(ACHIEVEMENT_TIMED_TYPE_EVENT, ACHIEV_TIMED_START_EVENT);
|
||||
}
|
||||
@@ -362,7 +362,7 @@ public:
|
||||
Talk(SAY_AGGRO_P_ONE);
|
||||
|
||||
DoCast(SPELL_BERSEKER); // periodic aura, first tick in 10 minutes
|
||||
|
||||
|
||||
if (instance)
|
||||
instance->DoStartTimedAchievement(ACHIEVEMENT_TIMED_TYPE_EVENT, ACHIEV_TIMED_START_EVENT);
|
||||
}
|
||||
|
||||
@@ -449,7 +449,7 @@ class spell_warl_demonic_circle_summon : public SpellScriptLoader
|
||||
{
|
||||
if (GameObject* circle = GetTarget()->GetGameObject(GetId()))
|
||||
{
|
||||
// Here we check if player is in demonic circle teleport range, if so add
|
||||
// Here we check if player is in demonic circle teleport range, if so add
|
||||
// WARLOCK_DEMONIC_CIRCLE_ALLOW_CAST; allowing him to cast the WARLOCK_DEMONIC_CIRCLE_TELEPORT.
|
||||
// If not in range remove the WARLOCK_DEMONIC_CIRCLE_ALLOW_CAST.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user