mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[8118] More diminishing returns for mage case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
24f13bdcb7
commit
0e1d03baeb
2 changed files with 11 additions and 1 deletions
|
|
@ -2722,6 +2722,16 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto
|
||||||
// Explicit Diminishing Groups
|
// Explicit Diminishing Groups
|
||||||
switch(spellproto->SpellFamilyName)
|
switch(spellproto->SpellFamilyName)
|
||||||
{
|
{
|
||||||
|
case SPELLFAMILY_MAGE:
|
||||||
|
{
|
||||||
|
// Shattered Barrier (triggered so doesn't share with Frost Nova)
|
||||||
|
if (spellproto->SpellFamilyFlags & UI64LIT(0x00000080000))
|
||||||
|
return DIMINISHING_TRIGGER_ROOT;
|
||||||
|
// Frost Nova / Freeze (Water Elemental)
|
||||||
|
else if (spellproto->SpellIconID == 193)
|
||||||
|
return DIMINISHING_CONTROL_ROOT;
|
||||||
|
break;
|
||||||
|
}
|
||||||
case SPELLFAMILY_ROGUE:
|
case SPELLFAMILY_ROGUE:
|
||||||
{
|
{
|
||||||
// Blind
|
// Blind
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8117"
|
#define REVISION_NR "8118"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue