[10130] Proper stacking 30108/348 anr ranks from 3.2.x

(based on zergtmn's repo commit 7588ca9)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
zerg 2010-06-30 22:28:35 +04:00 committed by VladimirMangos
parent 3215c80cce
commit 3dbb8385b5
3 changed files with 6 additions and 1 deletions

View file

@ -398,6 +398,9 @@ SpellSpecific GetSpellSpecific(uint32 spellId)
if (spellInfo->SpellFamilyFlags & UI64LIT(0x2000002000000000) || spellInfo->SpellFamilyFlags2 & 0x00000010)
return SPELL_WARLOCK_ARMOR;
// Unstable Affliction | Immolate
if (spellInfo->SpellFamilyFlags & UI64LIT(0x10000000004))
return SPELL_UA_IMMOLATE;
break;
}
case SPELLFAMILY_PRIEST:
@ -484,6 +487,7 @@ bool IsSingleFromSpellSpecificPerTargetPerCaster(SpellSpecific spellSpec1,SpellS
case SPELL_POSITIVE_SHOUT:
case SPELL_JUDGEMENT:
case SPELL_HAND:
case SPELL_UA_IMMOLATE:
return spellSpec1==spellSpec2;
default:
return false;

View file

@ -103,6 +103,7 @@ enum SpellSpecific
SPELL_FOOD = 20,
SPELL_DRINK = 21,
SPELL_FOOD_AND_DRINK = 22,
SPELL_UA_IMMOLATE = 23, // Unstable Affliction and Immolate
};
SpellSpecific GetSpellSpecific(uint32 spellId);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10129"
#define REVISION_NR "10130"
#endif // __REVISION_NR_H__