mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[8522] Implement pet talent 53478.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
7768d5f3e7
commit
952a17efba
2 changed files with 10 additions and 1 deletions
|
|
@ -1646,6 +1646,15 @@ void Spell::EffectDummy(uint32 i)
|
|||
((Player*)m_caster)->SendAttackSwingCancelAttack();
|
||||
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
|
||||
case 53271:
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue