mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[11506] Fixed warning at added in prev commit code.
This commit is contained in:
parent
f3e3e53634
commit
945466934d
2 changed files with 2 additions and 2 deletions
|
|
@ -2849,7 +2849,7 @@ SpellAuraProcResult Unit::HandleProcTriggerSpellAuraProc(Unit *pVictim, uint32 d
|
|||
//case 44820: break; // Hate Monster (Spar) (<30%)
|
||||
case 45057: // Evasive Maneuvers (Commendation of Kael`thas trinket)
|
||||
// reduce you below $s1% health (in fact in this specific case can proc from any attack while health in result less $s1%)
|
||||
if (int32(GetHealth()) - int32(damage) >= GetMaxHealth() * triggerAmount / 100)
|
||||
if (int32(GetHealth()) - int32(damage) >= int32(GetMaxHealth() * triggerAmount / 100))
|
||||
return SPELL_AURA_PROC_FAILED;
|
||||
break;
|
||||
//case 45903: break: // Offensive State
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11505"
|
||||
#define REVISION_NR "11506"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue