mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
fix(Scripts/World): Prevent Taerar to be untargetable on death (#12351)
prevent unlooting and untargetable boss if kill too quickly
This commit is contained in:
@@ -643,6 +643,12 @@ public:
|
||||
emerald_dragonAI::UpdateAI(diff);
|
||||
}
|
||||
|
||||
void JustDied(Unit* /*killer*/) override
|
||||
{
|
||||
_JustDied();
|
||||
me->RemoveUnitFlag(UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_NON_ATTACKABLE);
|
||||
}
|
||||
|
||||
private:
|
||||
bool _banished; // used for shades activation testing
|
||||
uint32 _banishedTimer; // counter for banishment timeout
|
||||
|
||||
Reference in New Issue
Block a user