mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
fix(Core/Misc): Change const to be after type name (#10591)
This commit is contained in:
@@ -565,7 +565,7 @@ class spell_dru_lifebloom : public AuraScript
|
||||
// final heal
|
||||
int32 stack = GetStackAmount();
|
||||
int32 healAmount = aurEff->GetAmount();
|
||||
const SpellInfo* finalHeal = sSpellMgr->GetSpellInfo(SPELL_DRUID_LIFEBLOOM_FINAL_HEAL);
|
||||
SpellInfo const* finalHeal = sSpellMgr->GetSpellInfo(SPELL_DRUID_LIFEBLOOM_FINAL_HEAL);
|
||||
|
||||
if (Unit* caster = GetCaster())
|
||||
{
|
||||
@@ -586,7 +586,7 @@ class spell_dru_lifebloom : public AuraScript
|
||||
{
|
||||
Unit* caster = GetCaster();
|
||||
int32 healAmount = GetSpellInfo()->Effects[EFFECT_1].CalcValue(caster ? caster : target, 0, target) * dispelInfo->GetRemovedCharges();
|
||||
const SpellInfo* finalHeal = sSpellMgr->GetSpellInfo(SPELL_DRUID_LIFEBLOOM_FINAL_HEAL);
|
||||
SpellInfo const* finalHeal = sSpellMgr->GetSpellInfo(SPELL_DRUID_LIFEBLOOM_FINAL_HEAL);
|
||||
if (caster)
|
||||
{
|
||||
// healing with bonus
|
||||
|
||||
Reference in New Issue
Block a user