mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
Core/Unit: Set stand state on damage only to players
(cherry picked from commit 4cc1f85067)
This commit is contained in:
@@ -1040,8 +1040,8 @@ bool Unit::HasBreakableByDamageCrowdControlAura(Unit* excludeCasterChannel) cons
|
||||
}
|
||||
}
|
||||
|
||||
// check to see if victim is sitting
|
||||
if (victim->GetStandState())
|
||||
// make player victims stand up automatically
|
||||
if (victim->GetStandState() && victim->IsPlayer())
|
||||
victim->SetStandState(UNIT_STAND_STATE_STAND);
|
||||
|
||||
return damage;
|
||||
|
||||
Reference in New Issue
Block a user