fix(DB/Creature): Fix Power Spark movement (#24798)
This commit is contained in:
@@ -0,0 +1,8 @@
|
|||||||
|
--
|
||||||
|
DELETE FROM `creature_template_addon` WHERE `entry` = 30084;
|
||||||
|
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
|
||||||
|
(30084, 0, 0, 0, 0, 0, 0, '55845');
|
||||||
|
|
||||||
|
DELETE FROM `creature_template_movement` WHERE `CreatureId` = 30084;
|
||||||
|
INSERT INTO `creature_template_movement` (`CreatureId`, `Flight`) VALUES
|
||||||
|
(30084, 1);
|
||||||
@@ -746,7 +746,6 @@ struct npc_power_spark : public NullCreatureAI
|
|||||||
npc_power_spark(Creature* creature) : NullCreatureAI(creature)
|
npc_power_spark(Creature* creature) : NullCreatureAI(creature)
|
||||||
{
|
{
|
||||||
_instance = me->GetInstanceScript();
|
_instance = me->GetInstanceScript();
|
||||||
me->CastSpell(me, SPELL_POWER_SPARK_VISUAL, false);
|
|
||||||
_checkTimer = 1000;
|
_checkTimer = 1000;
|
||||||
_moveTimer = 0;
|
_moveTimer = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user