[10129] Add cooldown marker for talent 56342 and ranks triggering spell.

(based on zergtmn's repo commit 87d1309)

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

View file

@ -2799,6 +2799,13 @@ void Spell::cast(bool skipCheck)
AddTriggeredSpell(52874); // Fan of Knives (offhand) AddTriggeredSpell(52874); // Fan of Knives (offhand)
} }
break; break;
case SPELLFAMILY_HUNTER:
{
// Lock and Load
if (m_spellInfo->Id == 56453)
AddPrecastSpell(67544); // Lock and Load Marker
break;
}
case SPELLFAMILY_PALADIN: case SPELLFAMILY_PALADIN:
{ {
// Hand of Reckoning // Hand of Reckoning

View file

@ -7567,6 +7567,13 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB
if (!(procSpell->SpellFamilyFlags & UI64LIT(0x0000000000000020))) if (!(procSpell->SpellFamilyFlags & UI64LIT(0x0000000000000020)))
return false; return false;
} }
// Lock and Load
else if (auraSpellInfo->SpellIconID == 3579)
{
// Check for Lock and Load Marker
if (HasAura(67544))
return false;
}
break; break;
case SPELLFAMILY_PALADIN: case SPELLFAMILY_PALADIN:
{ {

View file

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