Skip to content

Commit

Permalink
fix(Scripts/SunwellPlateau): Remove Sunwell Radiance from mobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyeriah committed Feb 2, 2025
1 parent 1741217 commit 5542359
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,6 @@ class instance_sunwell_plateau : public InstanceMapScript
if (GameObject* gobj = GetGameObject(DATA_ICEBARRIER))
gobj->SendUpdateToPlayer(player);
}

void OnCreatureCreate(Creature* creature) override
{
if (creature->GetSpawnId() > 0 || !creature->GetOwnerGUID().IsPlayer())
creature->CastSpell(creature, SPELL_SUNWELL_RADIANCE, true);

InstanceScript::OnCreatureCreate(creature);
}
};

InstanceScript* GetInstanceScript(InstanceMap* map) const override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,6 @@ enum GameObjectIds
GO_ORB_OF_THE_BLUE_DRAGONFLIGHT4 = 188116
};

enum SpellIds
{
SPELL_SUNWELL_RADIANCE = 45769,
};

template <class AI, class T>
inline AI* GetSunwellPlateauAI(T* obj)
{
Expand Down

0 comments on commit 5542359

Please sign in to comment.