mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
*Fix a typo that broken quest death's challenge
--HG-- branch : trunk
This commit is contained in:
@@ -1012,7 +1012,7 @@ struct TRINITY_DLL_DECL npc_death_knight_initiateAI : public SpellAI
|
||||
{
|
||||
if (m_bIsDuelInProgress && pDoneBy->IsControlledByPlayer())
|
||||
{
|
||||
if(pDoneBy->GetGUID() != m_uiDuelerGUID || pDoneBy->GetOwnerGUID() != m_uiDuelerGUID) // other players cannot help
|
||||
if(pDoneBy->GetGUID() != m_uiDuelerGUID && pDoneBy->GetOwnerGUID() != m_uiDuelerGUID) // other players cannot help
|
||||
uiDamage = 0;
|
||||
else if(uiDamage >= m_creature->GetHealth())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user