mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[8248] Fixed talent 12328
* This one spell belongs to SPELLFAMILY_WARRIOR not GENERIC next to IDs are for NPC possible. Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
parent
983264737e
commit
79d49504e0
2 changed files with 18 additions and 4 deletions
|
|
@ -4517,13 +4517,12 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
||||||
triggered_spell_id = 25997;
|
triggered_spell_id = 25997;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Sweeping Strikes
|
// Sweeping Strikes (NPC spells may be)
|
||||||
case 12328:
|
|
||||||
case 18765:
|
case 18765:
|
||||||
case 35429:
|
case 35429:
|
||||||
{
|
{
|
||||||
// prevent chain of triggered spell from same triggered spell
|
// prevent chain of triggered spell from same triggered spell
|
||||||
if(procSpell && procSpell->Id==26654)
|
if(procSpell && procSpell->Id == 26654)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
target = SelectNearbyTarget();
|
target = SelectNearbyTarget();
|
||||||
|
|
@ -5049,6 +5048,21 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
||||||
basepoints0 = GetShieldBlockValue() * triggerAmount / 100;
|
basepoints0 = GetShieldBlockValue() * triggerAmount / 100;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Sweeping Strikes
|
||||||
|
if (dummySpell->Id == 12328)
|
||||||
|
{
|
||||||
|
// prevent chain of triggered spell from same triggered spell
|
||||||
|
if(procSpell && procSpell->Id == 26654)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
target = SelectNearbyTarget();
|
||||||
|
if(!target)
|
||||||
|
return false;
|
||||||
|
|
||||||
|
triggered_spell_id = 26654;
|
||||||
|
break;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SPELLFAMILY_WARLOCK:
|
case SPELLFAMILY_WARLOCK:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8247"
|
#define REVISION_NR "8248"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue