Skip to content

Commit

Permalink
Core/Spells: Runic Healing Injector (heal increased by 25% for engine…
Browse files Browse the repository at this point in the history
…ers - 3.2.0 patch change)
  • Loading branch information
Spyder committed Dec 19, 2011
1 parent 173b29a commit 0bf2dd7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/options.cmake
Expand Up @@ -9,7 +9,7 @@
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


option(SERVERS "Build worldserver and authserver" 1) 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(TOOLS "Build dbc/map/vmap extraction/assembler tools" 0)
option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1) option(USE_SCRIPTPCH "Use precompiled headers when compiling scripts" 1)
option(USE_COREPCH "Use precompiled headers when compiling servers" 1) option(USE_COREPCH "Use precompiled headers when compiling servers" 1)
Expand Down
7 changes: 7 additions & 0 deletions src/server/game/Spells/SpellEffects.cpp
Expand Up @@ -3037,6 +3037,13 @@ void Spell::SpellDamageHeal(SpellEffIndex effIndex) {


addhealth += damageAmount; 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 // Swiftmend - consumes Regrowth or Rejuvenation
else if (m_spellInfo->TargetAuraState == AURA_STATE_SWIFTMEND else if (m_spellInfo->TargetAuraState == AURA_STATE_SWIFTMEND
&& unitTarget->HasAuraState(AURA_STATE_SWIFTMEND, m_spellInfo, && unitTarget->HasAuraState(AURA_STATE_SWIFTMEND, m_spellInfo,
Expand Down

0 comments on commit 0bf2dd7

Please sign in to comment.