Permalink
Browse files

Core/Spells: Runic Healing Injector (heal increased by 25% for engine…

…ers - 3.2.0 patch change)
  • Loading branch information...
1 parent 173b29a commit 0bf2dd7005a52b44ec6ddad6857f0e64d3830a5d @SergeWinters SergeWinters committed Dec 19, 2011
Showing with 8 additions and 1 deletion.
  1. +1 −1 cmake/options.cmake
  2. +7 −0 src/server/game/Spells/SpellEffects.cpp
View
@@ -9,7 +9,7 @@
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
option(SERVERS "Build worldserver and authserver" 1)
-option(SCRIPTS "Build core with basic scripts included" 1)
+option(SCRIPTS "Build core with basic scripts included" 1)
option(TOOLS "Build dbc/map/vmap extraction/assembler tools" 0)
option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
@@ -3037,6 +3037,13 @@ void Spell::SpellDamageHeal(SpellEffIndex effIndex) {
addhealth += damageAmount;
}
+ // Runic Healing Injector (heal increased by 25% for engineers - 3.2.0 patch change)
+ else if (m_spellInfo->Id == 67489)
+ {
+ if (Player* player = m_caster->ToPlayer())
+ if (player->HasSkill(SKILL_ENGINEERING))
+ AddPctN(addhealth, 25);
+ }
// Swiftmend - consumes Regrowth or Rejuvenation
else if (m_spellInfo->TargetAuraState == AURA_STATE_SWIFTMEND
&& unitTarget->HasAuraState(AURA_STATE_SWIFTMEND, m_spellInfo,

0 comments on commit 0bf2dd7

Please sign in to comment.