mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
This commit is contained in:
@@ -1511,7 +1511,6 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
// mods at aura remove
|
||||
else
|
||||
|
||||
@@ -48,7 +48,6 @@ private:
|
||||
void _InitFlags(Unit* caster, uint8 effMask);
|
||||
void _HandleEffect(uint8 effIndex, bool apply);
|
||||
public:
|
||||
|
||||
Unit* GetTarget() const { return _target; }
|
||||
Aura* GetBase() const { return _base; }
|
||||
|
||||
|
||||
@@ -784,7 +784,6 @@ void Spell::SelectExplicitTargets()
|
||||
m_targets.SetUnitTarget(redirect);
|
||||
m_spellFlags |= SPELL_FLAG_REDIRECTED;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5589,7 +5588,6 @@ SpellCastResult Spell::CheckCast(bool strict)
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
// Spell casted only on battleground
|
||||
if (m_spellInfo->HasAttribute(SPELL_ATTR3_BATTLEGROUND) && m_caster->GetTypeId() == TYPEID_PLAYER)
|
||||
|
||||
@@ -241,7 +241,6 @@ class Spell
|
||||
friend void Unit::SetCurrentCastedSpell(Spell* pSpell);
|
||||
friend class SpellScript;
|
||||
public:
|
||||
|
||||
void EffectNULL(SpellEffIndex effIndex);
|
||||
void EffectUnused(SpellEffIndex effIndex);
|
||||
void EffectDistract(SpellEffIndex effIndex);
|
||||
|
||||
@@ -3005,7 +3005,6 @@ void Spell::EffectEnchantItemTmp(SpellEffIndex effIndex)
|
||||
{
|
||||
sLog->outError("Spell::EffectEnchantItemTmp: unknown spell id %i", spell_id);
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
for (int j = BASE_ATTACK; j <= OFF_ATTACK; ++j)
|
||||
|
||||
@@ -387,7 +387,6 @@ bool SpellMgr::ComputeIsSpellValid(SpellInfo const* spellInfo, bool msg)
|
||||
sLog->outErrorDb("Craft spell %u not have create item entry.", spellInfo->Id);
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
// also possible IsLootCrafting case but fake item must exist anyway
|
||||
else if (!sObjectMgr->GetItemTemplate(spellInfo->Effects[i].ItemType))
|
||||
@@ -1422,7 +1421,6 @@ void SpellMgr::LoadSpellRequired()
|
||||
// xinef: fill additionalTalentInfo data, currently Blessing of Sanctuary only
|
||||
if (GetTalentSpellCost(spellReq) > 0)
|
||||
mTalentSpellAdditionalSet.insert(spellId);
|
||||
|
||||
} while (result->NextRow());
|
||||
|
||||
sLog->outString(">> Loaded %u spell required records in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
@@ -1531,7 +1529,6 @@ void SpellMgr::LoadSpellTargetPositions()
|
||||
sLog->outErrorDb("Spell (Id: %u, effIndex: %u) listed in `spell_target_position` does not have target TARGET_DEST_DB (17).", Spell_ID, effIndex);
|
||||
continue;
|
||||
}
|
||||
|
||||
} while (result->NextRow());
|
||||
|
||||
/*
|
||||
@@ -2368,7 +2365,6 @@ void SpellMgr::LoadPetDefaultSpells()
|
||||
CreatureTemplateContainer const* ctc = sObjectMgr->GetCreatureTemplates();
|
||||
for (CreatureTemplateContainer::const_iterator itr = ctc->begin(); itr != ctc->end(); ++itr)
|
||||
{
|
||||
|
||||
if (!itr->second.PetSpellDataId)
|
||||
continue;
|
||||
|
||||
@@ -7237,7 +7233,6 @@ void SpellMgr::LoadDbcDataCorrections()
|
||||
spellInfo2->rangeIndex = 187; // 300yd
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (spellInfo->activeIconID == 2158) // flight
|
||||
|
||||
@@ -694,7 +694,6 @@ private:
|
||||
|
||||
// Modifiers
|
||||
public:
|
||||
|
||||
// Loading data at server startup
|
||||
void UnloadSpellInfoChains();
|
||||
void LoadSpellTalentRanks();
|
||||
|
||||
@@ -461,7 +461,6 @@ class AuraScript : public _SpellScript
|
||||
// internal use classes & functions
|
||||
// DO NOT THESE IN SCRIPTS
|
||||
public:
|
||||
|
||||
#define AURASCRIPT_FUNCTION_TYPE_DEFINES(CLASSNAME) \
|
||||
typedef bool(CLASSNAME::*AuraCheckAreaTargetFnType)(Unit* target); \
|
||||
typedef void(CLASSNAME::*AuraDispelFnType)(DispelInfo* dispelInfo); \
|
||||
|
||||
Reference in New Issue
Block a user