mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-27 15:46:24 +00:00
fixed totem rank scaling with low level players
This commit is contained in:
@@ -3274,7 +3274,7 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect const* triggered
|
||||
InitExplicitTargets(*targets);
|
||||
|
||||
// Fill aura scaling information
|
||||
if (m_caster->IsControlledByPlayer() && !m_spellInfo->IsPassive() && m_spellInfo->SpellLevel && !m_spellInfo->IsChanneled() && !(_triggeredCastFlags & TRIGGERED_IGNORE_AURA_SCALING))
|
||||
if (m_caster->IsTotem() || (m_caster->IsControlledByPlayer() && !m_spellInfo->IsPassive() && m_spellInfo->SpellLevel && !m_spellInfo->IsChanneled() && !(_triggeredCastFlags & TRIGGERED_IGNORE_AURA_SCALING)))
|
||||
{
|
||||
for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
|
||||
{
|
||||
|
||||
@@ -2446,8 +2446,8 @@ SpellInfo const* SpellInfo::GetPrevRankSpell() const
|
||||
SpellInfo const* SpellInfo::GetAuraRankForLevel(uint8 level) const
|
||||
{
|
||||
// ignore passive spells
|
||||
if (IsPassive())
|
||||
return this;
|
||||
//if (IsPassive())
|
||||
// return this;
|
||||
|
||||
bool needRankSelection = false;
|
||||
for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
|
||||
|
||||
Reference in New Issue
Block a user