Merge pull request #101 from zwisus/zwisus
Low-level spells cast by high-level players will receive smaller bonu…
This commit is contained in:
commit
db4c6098a1
@ -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())
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user