Scripts/VP: updated Asaad's script model and fixed Skyfall Star's cyclic movement and summon position.

* fixed Asaad's gravity state during Supremancy of the Storm
This commit is contained in:
Ovahlord
2018-08-29 22:47:33 +02:00
parent ea499608e0
commit db2e7f1266
3 changed files with 550 additions and 622 deletions

View File

@@ -0,0 +1,19 @@
UPDATE `creature_template` SET `InhabitType`= 1, `flags_extra`= `flags_extra` | 512 WHERE `entry` IN (43875, 43876);
UPDATE `creature_template` SET `ScriptName`= 'npc_asaad_storm_target' WHERE `ScriptName`= 'npc_storm_target';
UPDATE `creature_template` SET `ScriptName`= 'npc_asaad_unstable_grounding_field' WHERE `ScriptName`= 'npc_unstable_grounding_field';
UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_sots_targeting' WHERE `ScriptName`= 'spell_sots_targeting';
UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_sots_trigger' WHERE `ScriptName`= 'spell_sots_trigger';
UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_storm_rune_beam' WHERE `ScriptName`= 'spell_storm_rune_beam';
UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_grounding_field_visual_beams' WHERE `ScriptName`= 'spell_grounding_field_visual_beams';
UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_supremacy_of_the_storm' WHERE `ScriptName`= 'spell_supremacy_of_the_storm';
UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_supremacy_of_the_storm_visual' WHERE `ScriptName`= 'spell_supremacy_of_the_storm_visual';
UPDATE `spell_script_names` SET `ScriptName`= 'spell_asaad_static_cling' WHERE `ScriptName`= 'spell_static_cling';
-- Spells
DELETE FROM `spell_script_names` WHERE `ScriptName` IN
('spell_asaad_summon_skyfall_star');
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(96260, 'spell_asaad_summon_skyfall_star');

File diff suppressed because it is too large Load Diff

View File

@@ -82,4 +82,6 @@ inline AI* GetVortexPinnacleAI(T* obj)
return GetInstanceAI<AI>(obj, VPScriptName);
}
#define RegisterVortexPinnacleCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetVortexPinnacleAI)
#endif // DEF_VORTEX_PINNACLE_H