diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bindings/scripts/scripts/northrend/naxxramas/boss_razuvious.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/bindings/scripts/scripts/northrend/naxxramas/boss_razuvious.cpp b/src/bindings/scripts/scripts/northrend/naxxramas/boss_razuvious.cpp index 2ade34b6e6d..2d8b9bc253c 100644 --- a/src/bindings/scripts/scripts/northrend/naxxramas/boss_razuvious.cpp +++ b/src/bindings/scripts/scripts/northrend/naxxramas/boss_razuvious.cpp @@ -61,7 +61,16 @@ struct TRINITY_DLL_DECL boss_razuviousAI : public BossAI if (!(rand()%3)) DoPlaySoundToSet(me, SOUND_SLAY); } - + + void DamageTaken(Unit* pDone_by, uint32& uiDamage) + { + // Damage done by the controlled Death Knight understudies should also count toward damage done by players + if(pDone_by->GetTypeId() == TYPEID_UNIT && (pDone_by->GetEntry() == 16803 || pDone_by->GetEntry() == 29941) + { + me->LowerPlayerDamageReq(uiDamage); + } + } + void JustDied(Unit* killer) { _JustDied(); |