Low-level spells cast by high-level players will receive smaller bonuses from +healing and +spell damage.

until Patch 2.0.1

Signed-off-by: Zwisus <zlt988@gmail.com>
This commit is contained in:
Zwisus 2016-03-17 20:30:19 +08:00
parent 1f37bc0bc6
commit 347ccad218
2 changed files with 3 additions and 2 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())

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