mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[9313] Fix spell 53511 and ranks
Signed-off-by: Lightguard <Lightguard@tauri.hu>
This commit is contained in:
parent
883bdbf799
commit
c179509df3
2 changed files with 7 additions and 8 deletions
|
|
@ -7563,16 +7563,15 @@ void Aura::PeriodicDummyTick()
|
||||||
// Harpooner's Mark
|
// Harpooner's Mark
|
||||||
// case 40084:
|
// case 40084:
|
||||||
// return;
|
// return;
|
||||||
// Feeding Frenzy Rank 1
|
// Feeding Frenzy Rank 1 & 2
|
||||||
case 53511:
|
case 53511:
|
||||||
if ( m_target->GetHealth() * 100 < m_target->GetMaxHealth() * 35 )
|
|
||||||
m_target->CastSpell(m_target, 60096, true, NULL, this);
|
|
||||||
return;
|
|
||||||
// Feeding Frenzy Rank 2
|
|
||||||
case 53512:
|
case 53512:
|
||||||
if ( m_target->GetHealth() * 100 < m_target->GetMaxHealth() * 35 )
|
{
|
||||||
m_target->CastSpell(m_target, 60097, true, NULL, this);
|
Unit* victim = m_target->getVictim();
|
||||||
|
if( victim && victim->GetHealth() * 100 < victim->GetMaxHealth() * 35 )
|
||||||
|
m_target->CastSpell(m_target, m_spellInfo->Id == 53511 ? 60096 : 60097, true, NULL, this);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9312"
|
#define REVISION_NR "9313"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue