Merge pull request #101 from zwisus/zwisus

Low-level spells cast by high-level players will receive smaller bonu…
This commit is contained in:
Antz 2016-03-17 14:17:31 +00:00
commit db4c6098a1
3 changed files with 4 additions and 3 deletions

View File

@ -5494,7 +5494,8 @@ int32 Unit::SpellBonusWithCoeffs(Unit* pCaster, SpellEntry const* spellProto, in
else
{ coeff = CalculateDefaultCoefficient(spellProto, damagetype); }
float LvlPenalty = CalculateLevelPenalty(spellProto);
//float LvlPenalty = CalculateLevelPenalty(spellProto);//[-ZERO] not need. http://wowwiki.wikia.com/wiki/Patch_2.0.1
float LvlPenalty = 1.0f;
// Spellmod SpellDamage
if (Player* modOwner = GetSpellModOwner())

View File

@ -1944,7 +1944,7 @@ void Spell::EffectEnergize(SpellEffectIndex eff_idx)
switch (m_spellInfo->Id)
{
case 9512: // Restore Energy
level_diff = m_caster->getLevel() - 40;
level_diff = m_caster->getLevel() - 60;
level_multiplier = 2;
break;
case 24571: // Blood Fury

@ -1 +1 @@
Subproject commit 37eec855c5a03ccf4fa857a59cd28ec4fc7110d2
Subproject commit d6cbadfec9037c160a28ec72fac9e2ebe276195a