[11021] Damage buff apply for spell 57934

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
michalpolko 2011-01-17 12:24:59 +03:00 committed by VladimirMangos
parent d072a42807
commit 1b1a7ebd24
2 changed files with 7 additions and 3 deletions

View file

@ -1670,8 +1670,12 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
// Tricks of the trade // Tricks of the trade
case 57934: case 57934:
{ {
triggered_spell_id = 59628; // 6 sec buff on self triggered_spell_id = 57933; // Tricks of the Trade, increased damage buff
target = this; target = getHostileRefManager().GetThreatRedirectionTarget();
if (!target)
return SPELL_AURA_PROC_FAILED;
CastSpell(this, 59628, true); // Tricks of the Trade (caster timer)
break; break;
} }
} }

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 "11020" #define REVISION_NR "11021"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__