Core: Removed all double (and more) empty lines
This commit is contained in:
@@ -6418,7 +6418,6 @@ void AuraEffect::HandleAuraModFaction(AuraApplication const * aurApp, uint8 mode
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void AuraEffect::HandleComprehendLanguage(AuraApplication const * aurApp, uint8 mode, bool apply) const
|
||||
{
|
||||
if (!(mode & AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK))
|
||||
|
||||
@@ -789,7 +789,6 @@ bool Aura::ModStackAmount(int32 num)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool Aura::IsPassive() const
|
||||
{
|
||||
return IsPassiveSpell(GetSpellProto());
|
||||
@@ -1829,7 +1828,6 @@ void Aura::CallScriptEffectAfterAbsorbHandlers(AuraEffect * aurEff, AuraApplicat
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void Aura::CallScriptEffectManaShieldHandlers(AuraEffect * aurEff, AuraApplication const * aurApp, DamageInfo & dmgInfo, uint32 & absorbAmount, bool & defaultPrevented)
|
||||
{
|
||||
for(std::list<AuraScript *>::iterator scritr = m_loadedScripts.begin(); scritr != m_loadedScripts.end() ; ++scritr)
|
||||
|
||||
@@ -1659,7 +1659,6 @@ void Spell::EffectForceCastWithValue(SpellEffIndex effIndex)
|
||||
caster->CastCustomSpell(unitTarget, spellInfo->Id, &bp, &bp, &bp, true, NULL, NULL, m_originalCasterGUID);
|
||||
}
|
||||
|
||||
|
||||
void Spell::EffectTriggerSpell(SpellEffIndex effIndex)
|
||||
{
|
||||
// only unit case known
|
||||
|
||||
@@ -1131,7 +1131,6 @@ void SpellMgr::LoadSpellTargetPositions()
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
|
||||
|
||||
uint32 Spell_ID = fields[0].GetUInt32();
|
||||
|
||||
SpellTargetPosition st;
|
||||
@@ -1271,7 +1270,6 @@ void SpellMgr::LoadSpellProcEvents()
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
|
||||
|
||||
uint32 entry = fields[0].GetUInt32();
|
||||
|
||||
const SpellEntry *spell = sSpellStore.LookupEntry(entry);
|
||||
@@ -1501,20 +1499,17 @@ void SpellMgr::LoadSpellGroups()
|
||||
{
|
||||
|
||||
|
||||
|
||||
sLog->outString();
|
||||
sLog->outString(">> Loaded %u spell group definitions", count);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
std::set<uint32> groups;
|
||||
|
||||
do
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
|
||||
|
||||
uint32 group_id = fields[0].GetUInt32();
|
||||
if (group_id <= SPELL_GROUP_DB_RANGE_MIN && group_id >= SPELL_GROUP_CORE_RANGE_MAX)
|
||||
{
|
||||
@@ -1588,18 +1583,15 @@ void SpellMgr::LoadSpellGroupStackRules()
|
||||
if (!result)
|
||||
{
|
||||
|
||||
|
||||
sLog->outString(">> Loaded 0 spell group stack rules");
|
||||
sLog->outString();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
do
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
|
||||
|
||||
uint32 group_id = fields[0].GetUInt32();
|
||||
uint8 stack_rule = fields[1].GetUInt32();
|
||||
if (stack_rule >= SPELL_GROUP_STACK_RULE_MAX)
|
||||
@@ -1639,18 +1631,15 @@ void SpellMgr::LoadSpellThreats()
|
||||
{
|
||||
|
||||
|
||||
|
||||
sLog->outString(">> Loaded %u aggro generating spells", count);
|
||||
sLog->outString();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
do
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
|
||||
|
||||
uint32 entry = fields[0].GetUInt32();
|
||||
uint16 Threat = fields[1].GetUInt16();
|
||||
|
||||
@@ -2106,7 +2095,6 @@ void SpellMgr::LoadSpellPetAuras()
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
|
||||
|
||||
uint32 spell = fields[0].GetUInt32();
|
||||
uint8 eff = fields[1].GetUInt8();
|
||||
uint32 pet = fields[2].GetUInt32();
|
||||
@@ -2158,7 +2146,6 @@ void SpellMgr::LoadPetLevelupSpellMap()
|
||||
uint32 count = 0;
|
||||
uint32 family_count = 0;
|
||||
|
||||
|
||||
for (uint32 i = 0; i < sCreatureFamilyStore.GetNumRows(); ++i)
|
||||
{
|
||||
|
||||
@@ -2265,7 +2252,6 @@ void SpellMgr::LoadPetDefaultSpells()
|
||||
uint32 countCreature = 0;
|
||||
uint32 countData = 0;
|
||||
|
||||
|
||||
for (uint32 i = 0; i < sCreatureStorage.MaxEntry; ++i)
|
||||
{
|
||||
|
||||
@@ -2299,7 +2285,6 @@ void SpellMgr::LoadPetDefaultSpells()
|
||||
sLog->outString("Loading summonable creature templates...");
|
||||
oldMSTime = getMSTime();
|
||||
|
||||
|
||||
// different summon spells
|
||||
for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i)
|
||||
{
|
||||
@@ -2339,7 +2324,6 @@ void SpellMgr::LoadPetDefaultSpells()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
sLog->outString(">> Loaded %u summonable creature templates in %u ms", countCreature, GetMSTimeDiffToNow(oldMSTime));
|
||||
sLog->outString();
|
||||
}
|
||||
@@ -2463,7 +2447,6 @@ void SpellMgr::LoadSpellAreas()
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
|
||||
|
||||
uint32 spell = fields[0].GetUInt32();
|
||||
SpellArea spellArea;
|
||||
spellArea.spellId = spell;
|
||||
@@ -3273,7 +3256,6 @@ void SpellMgr::LoadSpellEnchantProcData()
|
||||
if (!result)
|
||||
{
|
||||
|
||||
|
||||
sLog->outString(">> Loaded %u spell enchant proc event conditions", count);
|
||||
sLog->outString();
|
||||
return;
|
||||
@@ -3283,7 +3265,6 @@ void SpellMgr::LoadSpellEnchantProcData()
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
|
||||
|
||||
uint32 enchantId = fields[0].GetUInt32();
|
||||
|
||||
SpellItemEnchantmentEntry const *ench = sSpellItemEnchantmentStore.LookupEntry(enchantId);
|
||||
@@ -3383,7 +3364,6 @@ void SpellMgr::LoadSpellRanks()
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
uint32 rows = 0;
|
||||
bool finished = false;
|
||||
|
||||
@@ -4164,7 +4144,6 @@ void SpellMgr::LoadEnchantCustomAttr()
|
||||
uint32 size = sSpellItemEnchantmentStore.GetNumRows();
|
||||
mEnchantCustomAttr.resize(size);
|
||||
|
||||
|
||||
uint32 count = 0;
|
||||
|
||||
for (uint32 i = 0; i < size; ++i)
|
||||
@@ -4221,7 +4200,6 @@ void SpellMgr::LoadSpellLinked()
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
|
||||
|
||||
int32 trigger = fields[0].GetInt32();
|
||||
int32 effect = fields[1].GetInt32();
|
||||
int32 type = fields[2].GetInt32();
|
||||
|
||||
@@ -131,12 +131,10 @@ enum SpellFamilyFlag
|
||||
SPELLFAMILYFLAG_DK_DEATH_COIL = 0x00002000,
|
||||
SPELLFAMILYFLAG1_DK_HUNGERING_COLD = 0x00001000,
|
||||
|
||||
|
||||
// TODO: Figure out a more accurate name for the following familyflag(s)
|
||||
SPELLFAMILYFLAG_SHAMAN_TOTEM_EFFECTS = 0x04000000, // Seems to be linked to most totems and some totem effects
|
||||
};
|
||||
|
||||
|
||||
// Spell clasification
|
||||
enum SpellSpecific
|
||||
{
|
||||
@@ -902,7 +900,6 @@ enum SpellCustomAttributes
|
||||
SPELL_ATTR0_CU_NEGATIVE = SPELL_ATTR0_CU_NEGATIVE_EFF0 | SPELL_ATTR0_CU_NEGATIVE_EFF1 | SPELL_ATTR0_CU_NEGATIVE_EFF2,
|
||||
};
|
||||
|
||||
|
||||
typedef std::vector<uint32> SpellCustomAttribute;
|
||||
typedef std::vector<bool> EnchantCustomAttribute;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user