DB/World: Highmountain Tauren Starting Zone
This commit is contained in:
@@ -0,0 +1,175 @@
|
||||
/*================================================================
|
||||
-- Highmountain Tauren Starting Zone (AreaID 7999 - Thunder Totem)
|
||||
================================================================*/
|
||||
|
||||
-- =======================
|
||||
-- Misc: Zone Calibrations
|
||||
-- =======================
|
||||
UPDATE `creature` SET `spawntimesecs`=180 WHERE `spawntimesecs` >180 AND `areaid`=7999;
|
||||
UPDATE `gameobject` SET `spawntimesecs`=180 WHERE `spawntimesecs` >180 AND `areaid`=7999;
|
||||
|
||||
|
||||
|
||||
-- ============================
|
||||
-- Misc: Spell Area Calibration
|
||||
-- ============================
|
||||
DELETE FROM `spell_area` WHERE `area`=7999;
|
||||
INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `teamId`, `racemask`, `gender`, `flags`, `quest_start_status`, `quest_end_status`, `comment`) VALUES
|
||||
(49416, 7999, 49773, 49773, 0, -1, 134217728, 2, 3, 10, 64, 'Generic Quest Invisibility Detection 1 - Highmountain Tauren (Thunder Totem, Thunder Totem)');
|
||||
|
||||
DELETE FROM `spell_area` WHERE `area`=5170 AND `spell`=49417;
|
||||
INSERT INTO `spell_area` (`spell`, `area`, `quest_start`, `quest_end`, `aura_spell`, `teamId`, `racemask`, `gender`, `flags`, `quest_start_status`, `quest_end_status`, `comment`) VALUES
|
||||
(49417, 5170, 50319, 50319, 0, -1, 134217728, 2, 3, 10, 64, 'Generic Quest Invisibility Detection 2 - Highmountain Tauren (Valley of Strength, Orgrimmar)');
|
||||
|
||||
|
||||
|
||||
-- ===========================
|
||||
-- Quest For the Horde (49773)
|
||||
-- ===========================
|
||||
UPDATE `quest_template_addon` SET `ScriptName`='SmartQuest' WHERE `ID`=49773;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=49773 AND `source_type`=5;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(49773, 5, 0, 0, '', 91, 0, 100, 0, 0, 0, 0, 0, 0, '', 62, 1220, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 4071.476, 4390.131, 670.625, 5.893, 'Highmountain Tauren Quest - On Quest Abandoned - Teleport Player');
|
||||
|
||||
|
||||
-- NPC Mayla Highmountain (93826)
|
||||
UPDATE `creature_template` SET `unit_flags`=768, `AIName`='SmartAI' WHERE `entry`=93826;
|
||||
UPDATE `creature` SET `spawntimesecs`=180 WHERE `guid`=336680;
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID`=93826;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `SoundPlayType`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(93826, 0, 0, 'I am Mayla, daughter of the late High Chieftain Ulan, and I... I speak for the tribes.', 12, 0, 100, 1, 0, 58699, 0, 109202, 0, 'Mayla Highmountain'),
|
||||
(93826, 1, 0, 'More crystalline beasts are coming, dig your hooves in!', 14, 0, 100, 0, 0, 0, 0, 105178, 0, 'Mayla Highmountain');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=93826 AND `source_type`=0;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(93826, 0, 0, 0, 10, 0, 100, 0, 1, 10, 100, 100, 33, 95078, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Mayla Highmountain - OOC LoS - Quest Credit'),
|
||||
(93826, 0, 1, 0, 19, 0, 100, 0, 49773, 0, 0, 0, 143, 6483, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Mayla Highmountain - On Quest Taken - Run Conversation');
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=93826 AND `SourceId`=0;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(22, 1, 93826, 0, 0, 32, 0, 144, 0, 0, '', 0, 0, 0, '', 'Mayla Highmountain - Run Script if Target is a Player'),
|
||||
(22, 1, 93826, 0, 0, 9, 0, 38909, 0, 0, '', 0, 0, 0, '', 'Mayla Highmountain - Run Scrip if Quest is Taken'),
|
||||
(22, 1, 93826, 0, 0, 48, 0, 281830, 0, 1, '', 1, 0, 0, '', 'Mayla Highmountain - Run Scrip if Quest Objetive is Not Complete');
|
||||
|
||||
|
||||
-- Conversation (6483)
|
||||
DELETE FROM `conversation_template` WHERE `Id`=6483;
|
||||
INSERT INTO `conversation_template` (`Id`, `FirstLineId`, `TextureKitId`, `Flags`, `ScriptName`, `VerifiedBuild`) VALUES
|
||||
(6483, 14680, 0, 0, '', 68974);
|
||||
|
||||
DELETE FROM `conversation_actors` WHERE `ConversationId`=6483;
|
||||
INSERT INTO `conversation_actors` (`ConversationId`, `ConversationActorId`, `ConversationActorGuid`, `ConversationActorNearId`, `Idx`, `CreatureId`, `CreatureDisplayInfoId`, `NoActorObject`, `ActivePlayerObject`, `VerifiedBuild`) VALUES
|
||||
(6483, 51685, 336680, 0, 0, 0, 0, 0, 0, 68974),
|
||||
(6483, 51685, 336680, 0, 1, 0, 0, 0, 0, 68974);
|
||||
|
||||
DELETE FROM `conversation_actor_template` WHERE `Id`=51685;
|
||||
INSERT INTO `conversation_actor_template` (`Id`, `CreatureId`, `CreatureModelId`, `VerifiedBuild`) VALUES
|
||||
(51685, 93826, 73318, 68974);
|
||||
|
||||
|
||||
-- GO Portal to Orgrimmar (176499)
|
||||
DELETE FROM `gameobject_template` WHERE `entry`=176499;
|
||||
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `Data24`, `Data25`, `Data26`, `Data27`, `Data28`, `Data29`, `Data30`, `Data31`, `Data32`, `Data33`, `Data34`, `ContentTuningId`, `RequiredLevel`, `AIName`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES
|
||||
(176499, 22, 4395, 'Portal to Orgrimmar', 'openhandglow', '', '', 1, 259106, -1, 0, 0, 1, 55254, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, '', '', NULL, 68974);
|
||||
|
||||
UPDATE `gameobject` SET `zoneId`=7731, `areaId`=7999, `spawntimesecs`=180 WHERE `guid`=211708;
|
||||
|
||||
DELETE FROM `gameobject_addon` WHERE `guid`=211708;
|
||||
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `invisibilityType`, `invisibilityValue`, `WorldEffectID`, `AIAnimKitID`) VALUES
|
||||
(211708, 0, 0, 0, 1, 7, 1, 0, 0);
|
||||
|
||||
|
||||
-- Spell Teleport: Orgrimmar (259106)
|
||||
DELETE FROM `spell_target_position` WHERE `ID`=259106;
|
||||
INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `OrderIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES
|
||||
(259106, 0, 0, 1, 1590.86, -4199.37, 53.6, 2.274, 68974);
|
||||
|
||||
|
||||
|
||||
-- ========================================
|
||||
-- Quest Stranger in a Strange Land (50319)
|
||||
-- ========================================
|
||||
|
||||
-- NPC Halian Shlavahawk (131201)
|
||||
DELETE FROM `creature` WHERE `guid`=65662;
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES
|
||||
(65662, 131201, 1, 1637, 5170, '0', 0, 0, 0, -1, 0, 0, 1600.54, -4372.47, 21.1758, 3.5741, 180, 0, 0, NULL, 0, NULL, NULL, NULL, NULL, '', NULL, 68974);
|
||||
|
||||
DELETE FROM `creature_addon` WHERE `guid`=65662;
|
||||
INSERT INTO `creature_addon` (`guid`, `PathId`, `mount`, `MountCreatureID`, `StandState`, `AnimTier`, `VisFlags`, `SheathState`, `PvPFlags`, `emote`, `aiAnimKit`, `movementAnimKit`, `meleeAnimKit`, `visibilityDistanceType`, `auras`) VALUES
|
||||
(65662, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '49415');
|
||||
|
||||
UPDATE `creature_template` SET `npcflag`=2, `unit_flags`=768, `AIName`='SmartAI' WHERE `entry`=131201;
|
||||
UPDATE `creature_template_difficulty` SET `ContentTuningID`=293 WHERE `Entry`=131201;
|
||||
|
||||
DELETE FROM `creature_text` WHERE `CreatureID`=131201;
|
||||
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `SoundPlayType`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
|
||||
(131201, 0, 0, 'Good luck, $p. As for me, I am going to test my skill in Ashenvale. For the Horde!', 12, 0, 100, 1, 0, 0, 0, 142986, 0, 'Halian Shlavahawk');
|
||||
|
||||
DELETE FROM `creature_questender` WHERE `quest`=50319;
|
||||
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES
|
||||
(131201, 50319, 68974);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=131201 AND `source_type`=0;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=13120100 AND `source_type`=9;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `Difficulties`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param_string`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `action_param_string`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_param_string`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(131201, 0, 0, 0, '', 20, 0, 100, 0, 50319, 0, 0, 0, 0, '', 162, 131201, 8, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 1600.54, -4372.47, 21.1758, 3.5741, 'Halian Shlavahawk - On Quest Rewarded - Summon Creature Halian Shlavahawk in Personal Visibility'),
|
||||
(131201, 0, 1, 0, '', 54, 0, 100, 1, 0, 0, 0, 0, 0, '', 80, 13120100, 2, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Halian Shlavahawk - On Just Summoned - Run Actionlist'),
|
||||
(131201, 0, 2, 3, '', 34, 0, 100, 1, 8, 1, 0, 0, 0, '', 11, 52096, 2, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Halian Shlavahawk - On Movement Inform 1 - Cast Cosmetic Teleport Effect'),
|
||||
(131201, 0, 3, 0, '', 61, 0, 100, 1, 0, 0, 0, 0, 0, '', 41, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Halian Shlavahawk - Despawn Instant'),
|
||||
|
||||
(13120100, 9, 0, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 83, 2, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Halian Shlavahawk - Remove NPC Flag'),
|
||||
(13120100, 9, 1, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 66, 0, 0, 0, 0, 0, 0, 0, NULL, 23, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Halian Shlavahawk - Set Orientation to Invoker'),
|
||||
(13120100, 9, 2, 0, '', 0, 0, 100, 0, 1000, 1000, 0, 0, 0, '', 1, 0, 0, 0, 0, 0, 0, 0, NULL, 23, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Halian Shlavahawk - Say Line 0'),
|
||||
(13120100, 9, 3, 0, '', 0, 0, 100, 0, 7000, 7000, 0, 0, 0, '', 59, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 'Halian Shlavahawk - Set Run Off'),
|
||||
(13120100, 9, 4, 0, '', 0, 0, 100, 0, 0, 0, 0, 0, 0, '', 69, 1, 0, 0, 0, 0, 0, 0, NULL, 8, 0, 0, 0, 0, NULL, 1576.91, -4394.31, 16.049, 3.742, 'Halian Shlavahawk - Move to PoS 1');
|
||||
|
||||
|
||||
|
||||
-- ============================
|
||||
-- Misc: Creatures Calibrations
|
||||
-- ============================
|
||||
|
||||
-- NPC Thunder Drum Circle (99699)
|
||||
DELETE FROM `creature` WHERE `guid`=336606;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=336606;
|
||||
UPDATE `creature_template` SET `flags_extra`=128 WHERE `entry`=99699;
|
||||
UPDATE `creature_template_addon` SET `SheathState`=0 WHERE `entry`=99699;
|
||||
UPDATE `creature_template_difficulty` SET `StaticFlags1`=536871168 WHERE `Entry`=99699;
|
||||
|
||||
|
||||
|
||||
-- NPC Highmountain Spiritwalker (99652)
|
||||
UPDATE `creature_template` SET `faction`=2785 WHERE `entry`=99652;
|
||||
UPDATE `creature_text` SET `GroupID`=0, `comment`='Highmountain Spiritwalker' WHERE `CreatureID`=99652 AND `GroupID`=3 AND `ID`=0;
|
||||
UPDATE `creature` SET `spawntimesecs`=180 WHERE `id`=99652;
|
||||
|
||||
|
||||
|
||||
-- NPC Highmountain Brave (133218)
|
||||
DELETE FROM `creature` WHERE `guid`=243422;
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=133218;
|
||||
UPDATE `creature_template_addon` SET `SheathState`=0 WHERE `entry`=133218;
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (133218) AND `source_type`=0;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` IN (13321800,13321801) AND `source_type`=9;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
|
||||
(133218, 0, 0, 0, 60, 0, 100, 0, 5000, 10000, 10000, 15000, 88, 13321800, 13321801, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Highmountain Brave - On Update - Run Random Actionlist'),
|
||||
|
||||
(13321800, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 10, 1, 113, 29, 574, 71, 400, 1, 0, 0, 0, 0, 0, 0, 0, 'Highmountain Brave - Play Random Emote'),
|
||||
(13321801, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 10, 1, 5, 6, 29, 604, 661, 1, 0, 0, 0, 0, 0, 0, 0, 'Highmountain Brave - Play Random Emote');
|
||||
|
||||
|
||||
|
||||
-- NPC Jala Ironhorn (133270)
|
||||
DELETE FROM `creature` WHERE `guid`=118818;
|
||||
UPDATE `creature_template_addon` SET `SheathState`=0 WHERE `entry`=133270;
|
||||
|
||||
|
||||
|
||||
-- GO Barrel (206707,206708,206709,206710,206711,206712,206713,206714,206715,206716,206717,206718,206719,206720,206721,206722)
|
||||
DELETE FROM `gameobject` WHERE `guid` IN (79489,79502,79501,79551,79552,79553,79554,109773,109775,79503,109767,109769);
|
||||
DELETE FROM `gameobject_addon` WHERE `guid` IN (79489,79502,79501,79551,79552,79553,79554,109773,109775,79503,109767,109769);
|
||||
|
||||
Reference in New Issue
Block a user