diff options
author | Machiavelli <none@none> | 2009-08-17 15:17:20 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-08-17 15:17:20 +0200 |
commit | 7158fc3ef4493f314287437671dbee37f86723e3 (patch) | |
tree | 86b4e0c63aa420caf085236ac6932ba3478893e6 /src | |
parent | 445b8236a18c37fe683f7bbfd2bf8800aa9926ae (diff) |
* Fix hunter pet talent 'Last Stand'
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellEffects.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 095cae6647e..c3503d35683 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1549,6 +1549,13 @@ void Spell::EffectDummy(uint32 i) ((Player*)m_caster)->SendAttackSwingCancelAttack(); return; } + // Last Stand (pet) + case 53478: + { + int32 healthModSpellBasePoints0 = int32(m_caster->GetMaxHealth()*0.3); + m_caster->CastCustomSpell(m_caster, 53479, &healthModSpellBasePoints0, NULL, NULL, true, NULL); + return; + } } break; case SPELLFAMILY_PALADIN: |