mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9273] Implement item 49623 triggered stacking affect.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
df70a2c81d
commit
9aedd3a864
3 changed files with 20 additions and 1 deletions
|
|
@ -323,6 +323,7 @@ void Spell::EffectSchoolDMG(uint32 effect_idx)
|
||||||
case 45150: // Meteor Slash
|
case 45150: // Meteor Slash
|
||||||
case 64422: case 64688: // Sonic Screech
|
case 64422: case 64688: // Sonic Screech
|
||||||
case 70492: case 72505: // Ooze Eruption
|
case 70492: case 72505: // Ooze Eruption
|
||||||
|
case 71904: // Chaos Bane
|
||||||
case 72624: case 72625: // Ooze Eruption
|
case 72624: case 72625: // Ooze Eruption
|
||||||
{
|
{
|
||||||
uint32 count = 0;
|
uint32 count = 0;
|
||||||
|
|
|
||||||
|
|
@ -5279,6 +5279,24 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
||||||
case 63320:
|
case 63320:
|
||||||
triggered_spell_id = 63321;
|
triggered_spell_id = 63321;
|
||||||
break;
|
break;
|
||||||
|
// Item - Shadowmourne Legendary
|
||||||
|
case 71903:
|
||||||
|
{
|
||||||
|
if (!roll_chance_i(triggerAmount))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
Aura *aur = GetAura(71905, 0);
|
||||||
|
if (aur && aur->GetStackAmount() + 1 >= aur->GetSpellProto()->StackAmount)
|
||||||
|
{
|
||||||
|
RemoveAurasDueToSpell(71905);
|
||||||
|
CastSpell(this, 71904, true); // Chaos Bane
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
triggered_spell_id = 71905;
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
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 "9272"
|
#define REVISION_NR "9273"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue