mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[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:
parent
f5d6fe6b01
commit
3215c80cce
3 changed files with 15 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue