fix(Scripts/BlackwingLair): Prevent Chromaggus from hostilizing playe… (#11595)
* fix(Scripts/BlackwingLair): Prevent Chromaggus from hostilizing players in the floor underneath * Update src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Update src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
parent
4156c2e97d
commit
12a0c6f1bc
1 changed files with 5 additions and 0 deletions
|
|
@ -83,6 +83,9 @@ public:
|
|||
_breathSpells = { SPELL_INCINERATE, SPELL_TIMELAPSE, SPELL_CORROSIVEACID, SPELL_IGNITEFLESH, SPELL_FROSTBURN };
|
||||
|
||||
Acore::Containers::RandomResize(_breathSpells, 2);
|
||||
|
||||
// Hack fix: This is here to prevent him from being pulled from the floor underneath, remove it once maps are fixed.
|
||||
creature->SetReactState(REACT_PASSIVE);
|
||||
}
|
||||
|
||||
void Initialize()
|
||||
|
|
@ -118,6 +121,8 @@ public:
|
|||
if (id == GUID_LEVER_USER)
|
||||
{
|
||||
_playerGUID = guid;
|
||||
// Hack fix: This is here to prevent him from being pulled from the floor underneath, remove it once maps are fixed.
|
||||
me->SetReactState(REACT_AGGRESSIVE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue