mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Count damage done by Deathknight Understudies towards damage done by players in Instructor Razuvious encounter.
--HG-- branch : trunk
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user