fix(Scripts/Spells): Mind Control should put both caster and target in combat. (#9301)

Fixes #8938
This commit is contained in:
UltraNix
2021-11-29 16:09:39 +01:00
committed by GitHub
parent 15e4f9697a
commit 0b551a055c
3 changed files with 34 additions and 1 deletions

View File

@@ -12988,7 +12988,7 @@ void Unit::SetInCombatState(bool PvP, Unit* enemy, uint32 duration)
if (controlled->GetTypeId() == TYPEID_UNIT && controlled->ToCreature()->HasReactState(REACT_PASSIVE))
continue;
controlled->SetInCombatState(PvP, enemy);
controlled->SetInCombatState(PvP, enemy, duration);
}
#ifdef ELUNA
if (Player* player = this->ToPlayer())