mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(Scripts/Spells): Mind Control should put both caster and target in combat. (#9301)
Fixes #8938
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user