From 347ccad21899573f30010281fd67610c33a78c7a Mon Sep 17 00:00:00 2001 From: Zwisus Date: Thu, 17 Mar 2016 20:30:19 +0800 Subject: [PATCH] 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 --- src/game/Object/Unit.cpp | 3 ++- src/modules/Eluna | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/game/Object/Unit.cpp b/src/game/Object/Unit.cpp index 6b8306aa..c638932e 100644 --- a/src/game/Object/Unit.cpp +++ b/src/game/Object/Unit.cpp @@ -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()) diff --git a/src/modules/Eluna b/src/modules/Eluna index 37eec855..d6cbadfe 160000 --- a/src/modules/Eluna +++ b/src/modules/Eluna @@ -1 +1 @@ -Subproject commit 37eec855c5a03ccf4fa857a59cd28ec4fc7110d2 +Subproject commit d6cbadfec9037c160a28ec72fac9e2ebe276195a