[8366] Prevent double heal effect casting with triggering talent 31876 and ranks.

Cast only at client casted judgements (and ignore triggered additional affects from seals)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
MeRclLy 2009-08-13 22:34:49 +04:00 committed by VladimirMangos
parent 799dc0a693
commit 83a95a2a5a
2 changed files with 5 additions and 1 deletions

View file

@ -5568,6 +5568,10 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
case 31876:
case 31877:
case 31878:
// triggered only at casted Judgement spells, not at additional Judgement effects
if(!procSpell || procSpell->Category != 1210)
return;
target = this;
triggered_spell_id = 31930;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8365"
#define REVISION_NR "8366"
#endif // __REVISION_NR_H__