From 7158fc3ef4493f314287437671dbee37f86723e3 Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Mon, 17 Aug 2009 15:17:20 +0200 Subject: * Fix hunter pet talent 'Last Stand' --HG-- branch : trunk --- src/game/SpellEffects.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') 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: -- cgit v1.2.3