diff options
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rwxr-xr-x | src/server/game/Spells/SpellMgr.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index c50aa7cc14f..374e3427282 100755 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -33,7 +33,7 @@ bool IsPrimaryProfessionSkill(uint32 skill) { - SkillLineEntry const *pSkill = sSkillLineStore.LookupEntry(skill); + SkillLineEntry const* pSkill = sSkillLineStore.LookupEntry(skill); if (!pSkill) return false; @@ -351,7 +351,7 @@ SpellMgr::~SpellMgr() } /// Some checks for spells, to prevent adding deprecated/broken spells for trainers, spell book, etc -bool SpellMgr::IsSpellValid(SpellInfo const *spellInfo, Player *pl, bool msg) +bool SpellMgr::IsSpellValid(SpellInfo const* spellInfo, Player* pl, bool msg) { // not exist if (!spellInfo) @@ -473,7 +473,7 @@ uint32 SpellMgr::GetSpellIdForDifficulty(uint32 spellId, Unit const* caster) con if (!difficultyId) return spellId; //return source spell, it has only REGULAR_DIFFICULTY - SpellDifficultyEntry const *difficultyEntry = sSpellDifficultyStore.LookupEntry(difficultyId); + SpellDifficultyEntry const* difficultyEntry = sSpellDifficultyStore.LookupEntry(difficultyId); if (!difficultyEntry) { sLog->outDebug(LOG_FILTER_SPELLS_AURAS, "SpellMgr::GetSpellIdForDifficulty: SpellDifficultyEntry not found for spell %u. This should never happen.", spellId); @@ -1158,7 +1158,7 @@ void SpellMgr::LoadSpellRanks() // fill one chain while (currentSpell == lastSpell && !finished) { - Field *fields = result->Fetch(); + Field* fields = result->Fetch(); currentSpell = fields[0].GetUInt32(); if (lastSpell == -1) @@ -1260,7 +1260,7 @@ void SpellMgr::LoadSpellRequired() do { - Field *fields = result->Fetch(); + Field* fields = result->Fetch(); uint32 spell_id = fields[0].GetUInt32(); uint32 spell_req = fields[1].GetUInt32(); @@ -1355,7 +1355,7 @@ void SpellMgr::LoadSpellLearnSpells() do { - Field *fields = result->Fetch(); + Field* fields = result->Fetch(); uint32 spell_id = fields[0].GetUInt32(); @@ -1459,7 +1459,7 @@ void SpellMgr::LoadSpellTargetPositions() do { - Field *fields = result->Fetch(); + Field* fields = result->Fetch(); uint32 Spell_ID = fields[0].GetUInt32(); @@ -1583,7 +1583,7 @@ void SpellMgr::LoadSpellGroups() do { - Field *fields = result->Fetch(); + 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) @@ -1664,7 +1664,7 @@ void SpellMgr::LoadSpellGroupStackRules() do { - Field *fields = result->Fetch(); + Field* fields = result->Fetch(); uint32 group_id = fields[0].GetUInt32(); uint8 stack_rule = fields[1].GetUInt32(); @@ -1711,7 +1711,7 @@ void SpellMgr::LoadSpellProcEvents() uint32 customProc = 0; do { - Field *fields = result->Fetch(); + Field* fields = result->Fetch(); uint32 entry = fields[0].GetUInt32(); @@ -1915,7 +1915,7 @@ void SpellMgr::LoadSpellBonusess() do { - Field *fields = result->Fetch(); + Field* fields = result->Fetch(); uint32 entry = fields[0].GetUInt32(); SpellInfo const* spell = GetSpellInfo(entry); @@ -1957,7 +1957,7 @@ void SpellMgr::LoadSpellThreats() do { - Field *fields = result->Fetch(); + Field* fields = result->Fetch(); uint32 entry = fields[0].GetUInt32(); @@ -2021,7 +2021,7 @@ void SpellMgr::LoadSpellPetAuras() do { - Field *fields = result->Fetch(); + Field* fields = result->Fetch(); uint32 spell = fields[0].GetUInt32(); uint8 eff = fields[1].GetUInt8(); @@ -2126,7 +2126,7 @@ void SpellMgr::LoadSpellEnchantProcData() do { - Field *fields = result->Fetch(); + Field* fields = result->Fetch(); uint32 enchantId = fields[0].GetUInt32(); @@ -2171,7 +2171,7 @@ void SpellMgr::LoadSpellLinked() do { - Field *fields = result->Fetch(); + Field* fields = result->Fetch(); int32 trigger = fields[0].GetInt32(); int32 effect = fields[1].GetInt32(); @@ -2416,7 +2416,7 @@ void SpellMgr::LoadSpellAreas() do { - Field *fields = result->Fetch(); + Field* fields = result->Fetch(); uint32 spell = fields[0].GetUInt32(); SpellArea spellArea; |