[8522] Implement pet talent 53478.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Shendor 2009-09-21 22:46:54 +04:00 committed by VladimirMangos
parent 7768d5f3e7
commit 952a17efba
2 changed files with 10 additions and 1 deletions

View file

@ -1646,6 +1646,15 @@ void Spell::EffectDummy(uint32 i)
((Player*)m_caster)->SendAttackSwingCancelAttack(); ((Player*)m_caster)->SendAttackSwingCancelAttack();
return; return;
} }
// Last Stand
case 53478:
{
if (!unitTarget)
return;
int32 healthModSpellBasePoints0 = int32(unitTarget->GetMaxHealth() * 0.3);
unitTarget->CastCustomSpell(unitTarget, 53479, &healthModSpellBasePoints0, NULL, NULL, true, NULL);
return;
}
// Master's Call // Master's Call
case 53271: case 53271:
{ {

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8521" #define REVISION_NR "8522"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__