mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[8429] Not allow stacking SPELL_AURA_PERIODIC_ENERGIZE from diff casters.
This commit is contained in:
parent
a3207da3d9
commit
16b617c3c3
2 changed files with 4 additions and 4 deletions
|
|
@ -3443,10 +3443,10 @@ bool Unit::AddAura(Aura *Aur)
|
|||
case SPELL_AURA_PERIODIC_HEAL:
|
||||
case SPELL_AURA_OBS_MOD_HEALTH:
|
||||
case SPELL_AURA_PERIODIC_MANA_LEECH:
|
||||
case SPELL_AURA_PERIODIC_ENERGIZE:
|
||||
case SPELL_AURA_OBS_MOD_MANA:
|
||||
case SPELL_AURA_POWER_BURN_MANA:
|
||||
break;
|
||||
case SPELL_AURA_PERIODIC_ENERGIZE: // all or self or clear non-stackable
|
||||
default: // not allow
|
||||
// can be only single (this check done at _each_ aura add
|
||||
RemoveAura(i2,AURA_REMOVE_BY_STACK);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8428"
|
||||
#define REVISION_NR "8429"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue