fix(Scripts/SunwellPlateau): Remove Sunwell Radiance from mobs (#21312)
This commit is contained in:
parent
cce6f7513e
commit
e75505d071
@ -0,0 +1,2 @@
|
||||
--
|
||||
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 25485) AND (`source_type` = 0) AND (`id` IN (0));
|
||||
@ -96,14 +96,6 @@ public:
|
||||
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
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user