mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +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();
|
((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:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue