fix(Scripts/SunwellPlateau): Fix Entropius despawning (#20874)
This commit is contained in:
parent
e6cea73120
commit
7530423f6b
1 changed files with 8 additions and 0 deletions
|
|
@ -83,6 +83,14 @@ struct boss_muru : public BossAI
|
|||
}, 10min);
|
||||
}
|
||||
|
||||
void JustSummoned(Creature* creature) override
|
||||
{
|
||||
if (creature->GetEntry() == NPC_ENTROPIUS)
|
||||
creature->SetInCombatWithZone();
|
||||
else
|
||||
BossAI::JustSummoned(creature);
|
||||
}
|
||||
|
||||
void DamageTaken(Unit*, uint32& damage, DamageEffectType, SpellSchoolMask) override
|
||||
{
|
||||
if (damage >= me->GetHealth())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue