mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[9004] Drop dead code case
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
3226d35f03
commit
ffd713cc55
2 changed files with 1 additions and 11 deletions
|
|
@ -7638,16 +7638,6 @@ bool Unit::HandleOverrideClassScriptAuraProc(Unit *pVictim, uint32 damage, Aura
|
||||||
case 6953: // Warbringer
|
case 6953: // Warbringer
|
||||||
RemoveAurasAtMechanicImmunity(IMMUNE_TO_ROOT_AND_SNARE_MASK,0,true);
|
RemoveAurasAtMechanicImmunity(IMMUNE_TO_ROOT_AND_SNARE_MASK,0,true);
|
||||||
return true;
|
return true;
|
||||||
case 8152: // Serendipity
|
|
||||||
{
|
|
||||||
// if heal your target over maximum health
|
|
||||||
if (pVictim->GetHealth() + damage < pVictim->GetMaxHealth())
|
|
||||||
return false;
|
|
||||||
int32 cost = procSpell->manaCost + procSpell->ManaCostPercentage * GetCreateMana() / 100;
|
|
||||||
int32 basepoints0 = cost * triggeredByAura->GetModifier()->m_amount/100;
|
|
||||||
CastCustomSpell(this, 47762, &basepoints0, NULL, NULL, true, NULL, triggeredByAura);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// not processed
|
// not processed
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9003"
|
#define REVISION_NR "9004"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue