mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Scripts/SunwellPlateau): Fix Entropius despawning (#20874)
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user