From 6984508a5d90e3dee58b4388822d9be0181b5ce1 Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Sat, 22 Apr 2023 10:04:19 -0300 Subject: [PATCH 01/27] fix(DB/Loot): Correct MinCount for Cabal Acolyte Fel Armaments (#16056) Create rev_1682123448347196000.sql --- data/sql/updates/pending_db_world/rev_1682123448347196000.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1682123448347196000.sql diff --git a/data/sql/updates/pending_db_world/rev_1682123448347196000.sql b/data/sql/updates/pending_db_world/rev_1682123448347196000.sql new file mode 100644 index 000000000..6c67ce7d5 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1682123448347196000.sql @@ -0,0 +1,2 @@ +-- +UPDATE `creature_loot_template` SET `MaxCount`=1 WHERE `Entry`=18633 AND `Item`=29740; From ca2d9cb1b02f87e99c405dcdd4c70056c5076492 Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Sat, 22 Apr 2023 10:04:39 -0300 Subject: [PATCH 02/27] fix(DB/ShadowLabyrinth): Adjust values for Murmur's Arena (#16054) Create rev_1682120419110815800.sql --- .../rev_1682120419110815800.sql | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1682120419110815800.sql diff --git a/data/sql/updates/pending_db_world/rev_1682120419110815800.sql b/data/sql/updates/pending_db_world/rev_1682120419110815800.sql new file mode 100644 index 000000000..fd6c51eb7 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1682120419110815800.sql @@ -0,0 +1,71 @@ +-- +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-146209, -146210)); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-146209, 0, 1000, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 121, 90, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cabal Summoner - On Respawn - Set Sight Dist 90y'), +(-146209, 0, 1001, 1002, 10, 0, 100, 1, 0, 90, 3600, 3600, 1, 45, 1, 1, 0, 0, 0, 0, 9, 0, 0, 200, 0, 0, 0, 0, 0, 'Cabal Summoner - Within 0-90 Range Out of Combat LoS - Start Event'), +(-146209, 0, 1002, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, -156.987, -313.371, 17.086, 0, 'Cabal Summoner - Linked - Move To Position'), +(-146209, 0, 1003, 0, 34, 0, 100, 0, 8, 1, 0, 0, 0, 225, 0, 1, 0, 0, 0, 0, 10, 146104, 18708, 0, 0, 0, 0, 0, 0, 'Cabal Summoner - On Reached Point 1 - Send GUID to Murmur'), +(-146210, 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 1, 1863400, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cabal Summoner - On Data Set 1 1 - Start Waypoint'), +(-146210, 0, 1001, 0, 58, 0, 100, 0, 8, 1863400, 0, 0, 0, 225, 0, 1, 0, 0, 0, 0, 10, 146104, 18708, 0, 0, 0, 0, 0, 0, 'Cabal Summoner - On Waypoint Finished - Send GUID to Murmur'); + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 18639) AND (`source_type` = 0) AND (`id` IN (3)); + +DELETE FROM `smart_scripts` WHERE (`entryorguid` IN (-146206, -146207, -146208)) 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-146206, 0, 1000, 0, 1, 0, 100, 0, 3600, 3600, 3600, 3600, 0, 11, 8734, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cabal Spellbinder - Out Of Combat - Cast \'Blackfathom Channeling\''), +(-146207, 0, 1000, 0, 1, 0, 100, 0, 3600, 3600, 3600, 3600, 0, 11, 8734, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cabal Spellbinder - Out Of Combat - Cast \'Blackfathom Channeling\''), +(-146208, 0, 1000, 0, 1, 0, 100, 0, 3600, 3600, 3600, 3600, 0, 11, 8734, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cabal Spellbinder - Out Of Combat - Cast \'Blackfathom Channeling\''); + +UPDATE `creature_template` SET `lootid` = 18639, `pickpocketloot` = 18639, `mingold` = 881, `maxgold` = 1155 WHERE (`entry` = 18639); +UPDATE `creature_template` SET `lootid` = 18634, `pickpocketloot` = 18634, `mingold` = 881, `maxgold` = 1155 WHERE (`entry` = 18634); + +DELETE FROM `creature_loot_template` WHERE `Entry` IN (18634, 18639); +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(18634, 21877, 0, 23.142, 0, 1, 0, 2, 3, 'Cabal Summoner - Netherweave Cloth'), +(18634, 22790, 0, 0.0518105, 0, 1, 0, 1, 2, 'Cabal Summoner - Ancient Lichen'), +(18634, 24001, 24001, 5, 0, 1, 1, 1, 1, 'Cabal Summoner - (ReferenceTable)'), +(18634, 24002, 24002, 5, 0, 1, 1, 1, 1, 'Cabal Summoner - (ReferenceTable)'), +(18634, 24009, 24009, 1, 0, 1, 1, 1, 1, 'Cabal Summoner - (ReferenceTable)'), +(18634, 24011, 24011, 1, 0, 1, 1, 1, 1, 'Cabal Summoner - (ReferenceTable)'), +(18634, 24013, 24013, 1, 0, 1, 1, 1, 1, 'Cabal Summoner - (ReferenceTable)'), +(18634, 24014, 24014, 0.5, 0, 1, 1, 1, 1, 'Cabal Summoner - (ReferenceTable)'), +(18634, 24035, 24035, 2, 0, 1, 1, 1, 1, 'Cabal Summoner - (ReferenceTable)'), +(18634, 27854, 0, 4.82413, 0, 1, 0, 1, 1, 'Cabal Summoner - Smoked Talbuk Venison'), +(18634, 27860, 0, 2.41782, 0, 1, 0, 1, 1, 'Cabal Summoner - Purified Draenic Water'), +(18634, 29549, 0, 0.0460538, 0, 1, 0, 1, 1, 'Cabal Summoner - Codex: Prayer of Fortitude III'), +(18634, 29550, 0, 0.040297, 0, 1, 0, 1, 1, 'Cabal Summoner - Tome of Conjure Water IX'), +(18634, 29740, 0, 5, 0, 1, 0, 1, 1, 'Cabal Summoner - Fel Armament'), +(18634, 30809, 0, 39, 0, 1, 0, 1, 1, 'Cabal Summoner - Mark of Sargeras'), +(18634, 31501, 0, 0.0575672, 0, 1, 0, 1, 1, 'Cabal Summoner - Tome of Conjure Food VIII'), +(18634, 31837, 0, 0.0575672, 0, 1, 0, 1, 1, 'Cabal Summoner - Codex: Prayer of Shadow Protection II'), +(18634, 31952, 0, 0.0345403, 0, 1, 0, 1, 1, 'Cabal Summoner - Khorium Lockbox'), +(18639, 21877, 0, 22.8698, 0, 1, 0, 2, 3, 'Cabal Spellbinder - Netherweave Cloth'), +(18639, 22146, 0, 0.0368001, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Book: Gift of the Wild III'), +(18639, 22790, 0, 0.0368001, 0, 1, 0, 1, 3, 'Cabal Spellbinder - Ancient Lichen'), +(18639, 23077, 0, 0.172677, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Blood Garnet'), +(18639, 24001, 24001, 5, 0, 1, 1, 1, 1, 'Cabal Spellbinder - (ReferenceTable)'), +(18639, 24002, 24002, 5, 0, 1, 1, 1, 1, 'Cabal Spellbinder - (ReferenceTable)'), +(18639, 24009, 24009, 1, 0, 1, 1, 1, 1, 'Cabal Spellbinder - (ReferenceTable)'), +(18639, 24011, 24011, 1, 0, 1, 1, 1, 1, 'Cabal Spellbinder - (ReferenceTable)'), +(18639, 24013, 24013, 1, 0, 1, 1, 1, 1, 'Cabal Spellbinder - (ReferenceTable)'), +(18639, 24035, 24035, 2, 0, 1, 1, 1, 1, 'Cabal Spellbinder - (ReferenceTable)'), +(18639, 27854, 0, 4.62549, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Smoked Talbuk Venison'), +(18639, 27860, 0, 2.03533, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Purified Draenic Water'), +(18639, 29549, 0, 0.0594463, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Codex: Prayer of Fortitude III'), +(18639, 29740, 0, 5, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Fel Armament'), +(18639, 30809, 0, 39, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Mark of Sargeras'), +(18639, 31501, 0, 0.0368001, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Tome of Conjure Food VIII'), +(18639, 31952, 0, 0.0820925, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Khorium Lockbox'); + +DELETE FROM `pickpocketing_loot_template` WHERE `Entry` IN (18634, 18639); +INSERT INTO `pickpocketing_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(18634, 22829, 0, 3.26, 0, 1, 0, 1, 1, 'Cabal Summoner - Super Healing Potion'), +(18634, 27854, 0, 3.58, 0, 1, 0, 1, 1, 'Cabal Summoner - Smoked Talbuk Venison'), +(18634, 27855, 0, 0.65, 0, 1, 0, 1, 1, 'Cabal Summoner - Mag\'har Grainbread'), +(18634, 29569, 0, 9.12, 0, 1, 0, 1, 1, 'Cabal Summoner - Strong Junkbox'), +(18634, 29570, 0, 14.33, 0, 1, 0, 1, 1, 'Cabal Summoner - A Gnome Effigy'), +(18639, 22829, 0, 1.88, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Super Healing Potion'), +(18639, 27854, 0, 3.47, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Smoked Talbuk Venison'), +(18639, 27855, 0, 2.32, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Mag\'har Grainbread'), +(18639, 29569, 0, 7.53, 0, 1, 0, 1, 1, 'Cabal Spellbinder - Strong Junkbox'), +(18639, 29570, 0, 7.53, 0, 1, 0, 1, 1, 'Cabal Spellbinder - A Gnome Effigy'); From 43cbe6a1520fc3e1f9abe8ad8259609dd5ffdf8d Mon Sep 17 00:00:00 2001 From: Dan <83884799+elthehablo@users.noreply.github.com> Date: Sat, 22 Apr 2023 15:05:32 +0200 Subject: [PATCH 03/27] fix(Scripts/ManaTombs): Yor stomp added (#15986) --- .../ManaTombs/boss_nexusprince_shaffar.cpp | 22 +++++++++++++------ 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp index a6013e1dd..d11429398 100644 --- a/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp +++ b/src/server/scripts/Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp @@ -170,8 +170,11 @@ public: enum Yor { - SPELL_DOUBLE_BREATH = 38361, - EVENT_DOUBLE_BREATH = 1 + SPELL_DOUBLE_BREATH = 38361, + SPELL_STOMP = 36405, + + EVENT_DOUBLE_BREATH = 1, + EVENT_STOMP = 2 }; class npc_yor : public CreatureScript @@ -192,7 +195,8 @@ public: void JustEngagedWith(Unit* /*who*/) override { - events.ScheduleEvent(EVENT_DOUBLE_BREATH, urand(6000, 9000)); + events.ScheduleEvent(EVENT_DOUBLE_BREATH, urand(26500, 30500)); + events.ScheduleEvent(EVENT_STOMP, urand(12000, 18000)); } void UpdateAI(uint32 diff) override @@ -201,6 +205,10 @@ public: return; events.Update(diff); + if (me->HasUnitState(UNIT_STATE_CASTING)) + { + return; + } while (uint32 eventId = events.ExecuteEvent()) { @@ -209,16 +217,16 @@ public: case EVENT_DOUBLE_BREATH: if (me->IsWithinDist(me->GetVictim(), ATTACK_DISTANCE)) DoCastVictim(SPELL_DOUBLE_BREATH); - events.ScheduleEvent(EVENT_DOUBLE_BREATH, urand(6000, 9000)); + events.ScheduleEvent(EVENT_DOUBLE_BREATH, urand(10000, 20000)); break; - default: + case EVENT_STOMP: + DoCastAOE(SPELL_STOMP); + events.ScheduleEvent(EVENT_STOMP, urand(14000, 24000)); break; } } - DoMeleeAttackIfReady(); } - private: EventMap events; }; From 790417b1b1fb000e2028aea5f1030c01e6e317fd Mon Sep 17 00:00:00 2001 From: UltraNix <80540499+UltraNix@users.noreply.github.com> Date: Sat, 22 Apr 2023 15:08:01 +0200 Subject: [PATCH 04/27] =?UTF-8?q?fix(Core/Spells):=20Fixed=20somed=20Druid?= =?UTF-8?q?=20idols=20not=20being=20modified=20by=20spell=E2=80=A6=20(#154?= =?UTF-8?q?52)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(Core/Spells): Fixed somed Druid idols not being modified by spell power coefficients. Fixes #14479 --- .../rev_1679137018378727600.sql | 2 + src/server/game/Entities/Unit/Unit.cpp | 112 ++++++++++++++---- .../game/Spells/SpellInfoCorrections.cpp | 7 -- src/server/scripts/Spells/spell_druid.cpp | 46 ------- 4 files changed, 91 insertions(+), 76 deletions(-) create mode 100644 data/sql/updates/pending_db_world/rev_1679137018378727600.sql diff --git a/data/sql/updates/pending_db_world/rev_1679137018378727600.sql b/data/sql/updates/pending_db_world/rev_1679137018378727600.sql new file mode 100644 index 000000000..67b1920d9 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1679137018378727600.sql @@ -0,0 +1,2 @@ +-- +DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_dru_insect_swarm', 'spell_dru_idol_lifebloom'); diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 3f8e26ad0..0994f84bc 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -11634,6 +11634,7 @@ uint32 Unit::SpellDamageBonusDone(Unit* victim, SpellInfo const* spellProto, uin // done scripted mod (take it from owner) Unit* owner = GetOwner() ? GetOwner() : this; + int32 DoneAdvertisedBenefit = 0; AuraEffectList const& mOverrideClassScript = owner->GetAuraEffectsByType(SPELL_AURA_OVERRIDE_CLASS_SCRIPTS); for (AuraEffectList::const_iterator i = mOverrideClassScript.begin(); i != mOverrideClassScript.end(); ++i) { @@ -11650,36 +11651,68 @@ uint32 Unit::SpellDamageBonusDone(Unit* victim, SpellInfo const* spellProto, uin case 5148: // Idol of the Shooting Star case 6008: // Increased Lightning Damage case 8627: // Totem of Hex - { - DoneTotal += (*i)->GetAmount(); - break; - } + { + DoneAdvertisedBenefit += (*i)->GetAmount(); + break; + } } } // Custom scripted damage - if (spellProto->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT) + switch (spellProto->SpellFamilyName) { - // Sigil of the Vengeful Heart - if (spellProto->SpellFamilyFlags[0] & 0x2000) - if (AuraEffect* aurEff = GetAuraEffect(64962, EFFECT_1)) - AddPct(DoneTotal, aurEff->GetAmount()); + case SPELLFAMILY_DRUID: + { + // Insect Swarm vs Item - Druid T8 Balance Relic + if (spellProto->SpellFamilyFlags[0] & 0x00200000) + { + if (AuraEffect const* relicAurEff = GetAuraEffect(64950, EFFECT_0)) + { + DoneAdvertisedBenefit += relicAurEff->GetAmount(); + } + } - // Impurity - if (AuraEffect* aurEff = GetDummyAuraEffect(SPELLFAMILY_DEATHKNIGHT, 1986, 0)) - AddPct(ApCoeffMod, aurEff->GetAmount()); + // Nourish vs Idol of the Flourishing Life + if (spellProto->SpellFamilyFlags[1] & 0x02000000) + { + if (AuraEffect const* relicAurEff = GetAuraEffect(64949, EFFECT_0)) + { + DoneAdvertisedBenefit += relicAurEff->GetAmount(); + } + } + break; + } + case SPELLFAMILY_DEATHKNIGHT: + { + // Sigil of the Vengeful Heart + if (spellProto->SpellFamilyFlags[0] & 0x2000) + { + if (AuraEffect* aurEff = GetAuraEffect(64962, EFFECT_1)) + { + AddPct(DoneTotal, aurEff->GetAmount()); + } + } - // Blood Boil - bonus for diseased targets - if (spellProto->SpellFamilyFlags[0] & 0x00040000) - if (victim->GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_DEATHKNIGHT, 0, 0, 0x00000002, GetGUID())) + // Impurity + if (AuraEffect* aurEff = GetDummyAuraEffect(SPELLFAMILY_DEATHKNIGHT, 1986, 0)) + { + AddPct(ApCoeffMod, aurEff->GetAmount()); + } + + // Blood Boil - bonus for diseased targets + if ((spellProto->SpellFamilyFlags[0] & 0x00040000) && victim->GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_DEATHKNIGHT, 0, 0, 0x00000002, GetGUID())) { DoneTotal += 95; ApCoeffMod = 1.5835f; } + break; + } + default: + break; } // Done fixed damage bonus auras - int32 DoneAdvertisedBenefit = SpellBaseDamageBonusDone(spellProto->GetSchoolMask()); + DoneAdvertisedBenefit += SpellBaseDamageBonusDone(spellProto->GetSchoolMask()); // Check for table values float coeff = spellProto->Effects[effIndex].BonusMultiplier; @@ -12411,37 +12444,70 @@ uint32 Unit::SpellHealingBonusDone(Unit* victim, SpellInfo const* spellProto, ui // done scripted mod (take it from owner) Unit* owner = GetOwner() ? GetOwner() : this; + int32 DoneAdvertisedBenefit = 0; AuraEffectList const& mOverrideClassScript = owner->GetAuraEffectsByType(SPELL_AURA_OVERRIDE_CLASS_SCRIPTS); for (AuraEffectList::const_iterator i = mOverrideClassScript.begin(); i != mOverrideClassScript.end(); ++i) { if (!(*i)->IsAffectedOnSpell(spellProto)) continue; + switch ((*i)->GetMiscValue()) { case 4415: // Increased Rejuvenation Healing case 4953: - DoneTotal += (*i)->GetAmount() / 5; // 5 ticks of Rejuvenation + DoneAdvertisedBenefit += (*i)->GetAmount(); break; case 3736: // Hateful Totem of the Third Wind / Increased Lesser Healing Wave / LK Arena (4/5/6) Totem of the Third Wind / Savage Totem of the Third Wind - DoneTotal += (*i)->GetAmount(); + DoneAdvertisedBenefit += (*i)->GetAmount(); break; } } - // Done fixed damage bonus auras - int32 DoneAdvertisedBenefit = SpellBaseHealingBonusDone(spellProto->GetSchoolMask()); - float coeff = spellProto->Effects[effIndex].BonusMultiplier; - switch (spellProto->SpellFamilyName) { + case SPELLFAMILY_DRUID: + { + // Nourish vs Idol of the Flourishing Life + if (spellProto->SpellFamilyFlags[1] & 0x02000000) + { + if (AuraEffect const* relicAurEff = GetAuraEffect(64949, EFFECT_0)) + { + DoneAdvertisedBenefit += relicAurEff->GetAmount(); + } + } + + // Lifebloom vs Idol of Lush Moss/Increased Lifebloom Periodic + if (spellProto->SpellFamilyFlags[1] & 00000010) + { + if (AuraEffect const* relicAurEff = GetAuraEffect(60779, EFFECT_0)) + { + DoneAdvertisedBenefit += relicAurEff->GetAmount(); + } + + if (AuraEffect const* relicAurEff = GetAuraEffect(34246, EFFECT_0)) + { + DoneAdvertisedBenefit += relicAurEff->GetAmount(); + } + } + break; + } case SPELLFAMILY_DEATHKNIGHT: + { // Impurity if (AuraEffect* aurEff = GetDummyAuraEffect(SPELLFAMILY_DEATHKNIGHT, 1986, 0)) + { AddPct(ApCoeffMod, aurEff->GetAmount()); - + } + break; + } + default: break; } + // Done fixed damage bonus auras + DoneAdvertisedBenefit += SpellBaseHealingBonusDone(spellProto->GetSchoolMask()); + float coeff = spellProto->Effects[effIndex].BonusMultiplier; + // Check for table values SpellBonusEntry const* bonus = sSpellMgr->GetSpellBonusData(spellProto->Id); if(bonus) diff --git a/src/server/game/Spells/SpellInfoCorrections.cpp b/src/server/game/Spells/SpellInfoCorrections.cpp index 2bad8d2ec..6a4dd4a68 100644 --- a/src/server/game/Spells/SpellInfoCorrections.cpp +++ b/src/server/game/Spells/SpellInfoCorrections.cpp @@ -430,13 +430,6 @@ void SpellMgr::LoadSpellInfoCorrections() spellInfo->Effects[EFFECT_0].SpellClassMask = flag96(0x00000040, 0x00000000, 0x00000000); }); - // Idol of the Flourishing Life - ApplySpellFix({ 64949 }, [](SpellInfo* spellInfo) - { - spellInfo->Effects[EFFECT_0].SpellClassMask = flag96(0x00000000, 0x02000000, 0x00000000); - spellInfo->Effects[EFFECT_0].ApplyAuraName = SPELL_AURA_ADD_FLAT_MODIFIER; - }); - ApplySpellFix({ 34231, // Libram of the Lightbringer 60792, // Libram of Tolerance diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index 5cc847ba0..e6218430f 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -55,7 +55,6 @@ enum DruidSpells SPELL_DRUID_SURVIVAL_INSTINCTS = 50322, SPELL_DRUID_SAVAGE_ROAR = 62071, SPELL_DRUID_TIGER_S_FURY_ENERGIZE = 51178, - SPELL_DRUID_ITEM_T8_BALANCE_RELIC = 64950, SPELL_DRUID_BEAR_FORM_PASSIVE = 1178, SPELL_DRUID_DIRE_BEAR_FORM_PASSIVE = 9635, SPELL_DRUID_ENRAGE = 5229, @@ -501,31 +500,6 @@ class spell_dru_glyph_of_starfire : public SpellScript } }; -/* 34246 - Increased Lifebloom Periodic - 60779 - Idol of Lush Moss */ -class spell_dru_idol_lifebloom : public AuraScript -{ - PrepareAuraScript(spell_dru_idol_lifebloom); - - void HandleEffectCalcSpellMod(AuraEffect const* aurEff, SpellModifier*& spellMod) - { - if (!spellMod) - { - spellMod = new SpellModifier(GetAura()); - spellMod->op = SPELLMOD_DOT; - spellMod->type = SPELLMOD_FLAT; - spellMod->spellId = GetId(); - spellMod->mask = GetSpellInfo()->Effects[aurEff->GetEffIndex()].SpellClassMask; - } - spellMod->value = aurEff->GetAmount() / 7; - } - - void Register() override - { - DoEffectCalcSpellMod += AuraEffectCalcSpellModFn(spell_dru_idol_lifebloom::HandleEffectCalcSpellMod, EFFECT_0, SPELL_AURA_DUMMY); - } -}; - // 29166 - Innervate class spell_dru_innervate : public AuraScript { @@ -545,24 +519,6 @@ class spell_dru_innervate : public AuraScript } }; -// -5570 - Insect Swarm -class spell_dru_insect_swarm : public AuraScript -{ - PrepareAuraScript(spell_dru_insect_swarm); - - void CalculateAmount(AuraEffect const* aurEff, int32& amount, bool& /*canBeRecalculated*/) - { - if (Unit* caster = GetCaster()) - if (AuraEffect const* relicAurEff = caster->GetAuraEffect(SPELL_DRUID_ITEM_T8_BALANCE_RELIC, EFFECT_0)) - amount += relicAurEff->GetAmount() / aurEff->GetTotalTicks(); - } - - void Register() override - { - DoEffectCalcAmount += AuraEffectCalcAmountFn(spell_dru_insect_swarm::CalculateAmount, EFFECT_0, SPELL_AURA_PERIODIC_DAMAGE); - } -}; - // -33763 - Lifebloom class spell_dru_lifebloom : public AuraScript { @@ -1202,9 +1158,7 @@ void AddSC_druid_spell_scripts() RegisterSpellScript(spell_dru_dash); RegisterSpellScript(spell_dru_enrage); RegisterSpellScript(spell_dru_glyph_of_starfire); - RegisterSpellScript(spell_dru_idol_lifebloom); RegisterSpellScript(spell_dru_innervate); - RegisterSpellScript(spell_dru_insect_swarm); RegisterSpellScript(spell_dru_lifebloom); RegisterSpellScript(spell_dru_living_seed); RegisterSpellScript(spell_dru_living_seed_proc); From 8696e7be7f366fcc5885bdf57d5e60d46f8b5c18 Mon Sep 17 00:00:00 2001 From: avarishd <46330494+avarishd@users.noreply.github.com> Date: Sat, 22 Apr 2023 16:08:25 +0300 Subject: [PATCH 05/27] fix(DB/Creature): Tamed Kodo - Remove gosisp flag. (#15165) * fix(DB/Creature): Tamed Kodo - Remove gosisp flag. * fix worldserver warning (assigned gossip, but no flag) also typo * Use &~ --- data/sql/updates/pending_db_world/rev_1677147108487825000.sql | 2 ++ src/server/scripts/Kalimdor/zone_desolace.cpp | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 data/sql/updates/pending_db_world/rev_1677147108487825000.sql diff --git a/data/sql/updates/pending_db_world/rev_1677147108487825000.sql b/data/sql/updates/pending_db_world/rev_1677147108487825000.sql new file mode 100644 index 000000000..761a44ba3 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1677147108487825000.sql @@ -0,0 +1,2 @@ +-- Tamed Kodo - Remove gossip flag & gosip menu. +UPDATE `creature_template` SET `npcflag` = `npcflag`&~(1),`gossip_menu_id` = 0 WHERE `entry` = 11627; diff --git a/src/server/scripts/Kalimdor/zone_desolace.cpp b/src/server/scripts/Kalimdor/zone_desolace.cpp index d49644c51..b4b242018 100644 --- a/src/server/scripts/Kalimdor/zone_desolace.cpp +++ b/src/server/scripts/Kalimdor/zone_desolace.cpp @@ -427,6 +427,8 @@ enum DyingKodo QUEST_KODO = 5561, + NPC_TEXT_KODO = 4449, // MenuID 3650 + NPC_SMEED = 11596, NPC_AGED_KODO = 4700, NPC_DYING_KODO = 4701, @@ -498,7 +500,7 @@ public: player->RemoveAurasDueToSpell(SPELL_KODO_KOMBO_PLAYER_BUFF); } - SendGossipMenuFor(player, player->GetGossipTextId(creature), creature->GetGUID()); + SendGossipMenuFor(player, NPC_TEXT_KODO, creature->GetGUID()); return true; } From 1e26cdbee9496a3f6ff4df150cbef7157a2bf80a Mon Sep 17 00:00:00 2001 From: ZhengPeiRu21 <98835050+ZhengPeiRu21@users.noreply.github.com> Date: Sat, 22 Apr 2023 07:09:18 -0600 Subject: [PATCH 06/27] fix(Core): Save bonus talent points to DB (#14099) * fix(Core): Save bonus talent points to DB * fix(Core): Save bonus talent points to DB * Oxford comma in comment --- .../pending_db_characters/rev_1670536705725900100.sql | 3 +++ .../Database/Implementation/CharacterDatabase.cpp | 8 ++++---- src/server/game/Entities/Player/Player.cpp | 2 ++ src/server/game/Entities/Player/PlayerStorage.cpp | 9 ++++++--- 4 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 data/sql/updates/pending_db_characters/rev_1670536705725900100.sql diff --git a/data/sql/updates/pending_db_characters/rev_1670536705725900100.sql b/data/sql/updates/pending_db_characters/rev_1670536705725900100.sql new file mode 100644 index 000000000..7e4fe9fef --- /dev/null +++ b/data/sql/updates/pending_db_characters/rev_1670536705725900100.sql @@ -0,0 +1,3 @@ +-- +ALTER TABLE `characters` + ADD COLUMN `extraBonusTalentCount` INT NOT NULL DEFAULT '0' AFTER `innTriggerId`; diff --git a/src/server/database/Database/Implementation/CharacterDatabase.cpp b/src/server/database/Database/Implementation/CharacterDatabase.cpp index c3e4bb02a..9565cf310 100644 --- a/src/server/database/Database/Implementation/CharacterDatabase.cpp +++ b/src/server/database/Database/Implementation/CharacterDatabase.cpp @@ -71,7 +71,7 @@ void CharacterDatabaseConnection::DoPrepareStatements() "resettalents_time, trans_x, trans_y, trans_z, trans_o, transguid, extra_flags, stable_slots, at_login, zone, online, death_expire_time, taxi_path, instance_mode_mask, " "arenaPoints, totalHonorPoints, todayHonorPoints, yesterdayHonorPoints, totalKills, todayKills, yesterdayKills, chosenTitle, knownCurrencies, watchedFaction, drunk, " "health, power1, power2, power3, power4, power5, power6, power7, instance_id, talentGroupsCount, activeTalentGroup, exploredZones, equipmentCache, ammoId, " - "knownTitles, actionBars, grantableLevels, innTriggerId FROM characters WHERE guid = ?", CONNECTION_ASYNC); + "knownTitles, actionBars, grantableLevels, innTriggerId, extraBonusTalentCount FROM characters WHERE guid = ?", CONNECTION_ASYNC); PrepareStatement(CHAR_SEL_CHARACTER_AURAS, "SELECT casterGuid, itemGuid, spell, effectMask, recalculateMask, stackCount, amount0, amount1, amount2, " "base_amount0, base_amount1, base_amount2, maxDuration, remainTime, remainCharges FROM character_aura WHERE guid = ?", CONNECTION_ASYNC); @@ -338,14 +338,14 @@ void CharacterDatabaseConnection::DoPrepareStatements() "death_expire_time, taxi_path, arenaPoints, totalHonorPoints, todayHonorPoints, yesterdayHonorPoints, totalKills, " "todayKills, yesterdayKills, chosenTitle, knownCurrencies, watchedFaction, drunk, health, power1, power2, power3, " "power4, power5, power6, power7, latency, talentGroupsCount, activeTalentGroup, exploredZones, equipmentCache, " - "ammoId, knownTitles, actionBars, grantableLevels, innTriggerId) VALUES " - "(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)", CONNECTION_ASYNC); + "ammoId, knownTitles, actionBars, grantableLevels, innTriggerId, extraBonusTalentCount) VALUES " + "(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?, ?)", CONNECTION_ASYNC); PrepareStatement(CHAR_UPD_CHARACTER, "UPDATE characters SET name=?,race=?,class=?,gender=?,level=?,xp=?,money=?,skin=?,face=?,hairStyle=?,hairColor=?,facialStyle=?,bankSlots=?,restState=?,playerFlags=?," "map=?,instance_id=?,instance_mode_mask=?,position_x=?,position_y=?,position_z=?,orientation=?,trans_x=?,trans_y=?,trans_z=?,trans_o=?,transguid=?,taximask=?,cinematic=?,totaltime=?,leveltime=?,rest_bonus=?," "logout_time=?,is_logout_resting=?,resettalents_cost=?,resettalents_time=?,extra_flags=?,stable_slots=?,at_login=?,zone=?,death_expire_time=?,taxi_path=?," "arenaPoints=?,totalHonorPoints=?,todayHonorPoints=?,yesterdayHonorPoints=?,totalKills=?,todayKills=?,yesterdayKills=?,chosenTitle=?,knownCurrencies=?," "watchedFaction=?,drunk=?,health=?,power1=?,power2=?,power3=?,power4=?,power5=?,power6=?,power7=?,latency=?,talentGroupsCount=?,activeTalentGroup=?,exploredZones=?," - "equipmentCache=?,ammoId=?,knownTitles=?,actionBars=?,grantableLevels=?,innTriggerId=?,online=? WHERE guid=?", CONNECTION_ASYNC); + "equipmentCache=?,ammoId=?,knownTitles=?,actionBars=?,grantableLevels=?,innTriggerId=?,extraBonusTalentCount=?,online=? WHERE guid=?", CONNECTION_ASYNC); PrepareStatement(CHAR_UPD_ADD_AT_LOGIN_FLAG, "UPDATE characters SET at_login = at_login | ? WHERE guid = ?", CONNECTION_ASYNC); PrepareStatement(CHAR_UPD_REM_AT_LOGIN_FLAG, "UPDATE characters set at_login = at_login & ~ ? WHERE guid = ?", CONNECTION_ASYNC); diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp index 39d1c350a..f989ce7d4 100644 --- a/src/server/game/Entities/Player/Player.cpp +++ b/src/server/game/Entities/Player/Player.cpp @@ -14710,6 +14710,7 @@ void Player::_SaveCharacter(bool create, CharacterDatabaseTransaction trans) stmt->SetData(index++, GetByteValue(PLAYER_FIELD_BYTES, 2)); stmt->SetData(index++, m_grantableLevels); stmt->SetData(index++, _innTriggerId); + stmt->SetData(index++, m_extraBonusTalentCount); } else { @@ -14849,6 +14850,7 @@ void Player::_SaveCharacter(bool create, CharacterDatabaseTransaction trans) stmt->SetData(index++, GetByteValue(PLAYER_FIELD_BYTES, 2)); stmt->SetData(index++, m_grantableLevels); stmt->SetData(index++, _innTriggerId); + stmt->SetData(index++, m_extraBonusTalentCount); stmt->SetData(index++, IsInWorld() && !GetSession()->PlayerLogout() ? 1 : 0); // Index diff --git a/src/server/game/Entities/Player/PlayerStorage.cpp b/src/server/game/Entities/Player/PlayerStorage.cpp index 0637a4a3a..a943b590e 100644 --- a/src/server/game/Entities/Player/PlayerStorage.cpp +++ b/src/server/game/Entities/Player/PlayerStorage.cpp @@ -4954,8 +4954,8 @@ bool Player::LoadFromDB(ObjectGuid playerGuid, CharacterDatabaseQueryHolder cons //"arenaPoints, totalHonorPoints, todayHonorPoints, yesterdayHonorPoints, totalKills, todayKills, yesterdayKills, chosenTitle, knownCurrencies, watchedFaction, drunk, " // 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 //"health, power1, power2, power3, power4, power5, power6, power7, instance_id, talentGroupsCount, activeTalentGroup, exploredZones, equipmentCache, ammoId, knownTitles, - // 70 71 72 - //"actionBars, grantableLevels, innTriggerId FROM characters WHERE guid = '{}'", guid); + // 70 71 72 73 + //"actionBars, grantableLevels, innTriggerId, extraBonusTalentCount FROM characters WHERE guid = '{}'", guid); PreparedQueryResult result = holder.GetPreparedResult(PLAYER_LOGIN_QUERY_LOAD_FROM); if (!result) @@ -5473,7 +5473,10 @@ bool Player::LoadFromDB(ObjectGuid playerGuid, CharacterDatabaseQueryHolder cons _LoadMonthlyQuestStatus(holder.GetPreparedResult(PLAYER_LOGIN_QUERY_LOAD_MONTHLY_QUEST_STATUS)); _LoadRandomBGStatus(holder.GetPreparedResult(PLAYER_LOGIN_QUERY_LOAD_RANDOM_BG)); - // after spell and quest load + // Extra Bonus Talent Points + m_extraBonusTalentCount = fields[73].Get(); + + // after spell, bonus talents, and quest load InitTalentForLevel(); // must be before inventory (some items required reputation check) From 7ea76a9916bd5ba5db77d66de68a007328f6afb9 Mon Sep 17 00:00:00 2001 From: Eddy Vega <61223313+Si1ker@users.noreply.github.com> Date: Sat, 22 Apr 2023 07:10:20 -0600 Subject: [PATCH 07/27] fix(DB/Creature): The Curator - Aggro range (#16039) * init * pew --- data/sql/updates/pending_db_world/rev_1681942737921129600.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1681942737921129600.sql diff --git a/data/sql/updates/pending_db_world/rev_1681942737921129600.sql b/data/sql/updates/pending_db_world/rev_1681942737921129600.sql new file mode 100644 index 000000000..07989598e --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1681942737921129600.sql @@ -0,0 +1,3 @@ +-- +UPDATE `creature_template` SET `detection_range`=60 WHERE `entry`=15691; + From 3dc7a89ad2640c2125ec2db5a34ab9af8b706cd6 Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Sat, 22 Apr 2023 10:12:11 -0300 Subject: [PATCH 08/27] fix(DB/ShatteredHalls): Re-Construct Shattered Halls (#15990) * init * Legionnaire Gauntlet * barracks pt1 * barracks done * sewers * Sparring Hall spawns * Update rev_1680974634766349300.sql * Update rev_1680974634766349300.sql * Update rev_1680974634766349300.sql * Update rev_1680974634766349300.sql * Update rev_1680974634766349300.sql * rest of spawns * cleanup and linking * errors and leftovers * tweak * Update data/sql/updates/pending_db_world/rev_1680974634766349300.sql * more emotestates * dont remove executioner --- .../rev_1680974634766349300.sql | 1483 +++++++++++++++++ .../game/Spells/SpellInfoCorrections.cpp | 2 +- 2 files changed, 1484 insertions(+), 1 deletion(-) create mode 100644 data/sql/updates/pending_db_world/rev_1680974634766349300.sql diff --git a/data/sql/updates/pending_db_world/rev_1680974634766349300.sql b/data/sql/updates/pending_db_world/rev_1680974634766349300.sql new file mode 100644 index 000000000..bdfe4175c --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1680974634766349300.sql @@ -0,0 +1,1483 @@ +-- +DELETE FROM `creature` WHERE `map` = 540 AND `id1` IN (20923,16507,16594,16699,16700,16704,16807,16808,16809,17083,17420,17427,17461,17464,17465,17669,17670,17694,17671,16593,17695,17622,17356,17357,17474,17578) AND `guid` IN (34038,57220,57221,57222,57223,57581,57582,57583,57584,57686,57687,57688,57689,57690,57691,57692,57693,57694,57695,57696,57698,57699,57700,57853,57854,57855,59474,59475,59476,59477,62864,62865,62866,62867,62871,62872,62873,62921,62934,62935,62936,62937,62938,62939,62940,62941,62942,62943,62944,62945,62946,62947,62948,62949,62952,62953,62954,62955,63390,63391,63392,63446,63447,85746,85747,85748,85749,85750,85751,85752,85753,86366,86368,86369,86370,86423,86427,86452,86453,86454,86455,86456,86457,86458,86459,86460,86461,86462,86463,86464,86465,86466,1971542,1971543,1971544,1971545,1971546,1971547,1971548,1971549,1971550,1971551,1971552,1971553,1971554,1971555,1971556,1971557,1971558,1971559,1971560,1971561,1971562,1971563,1971564,1971565,1971566,1971567,1971568,1971569,1971570,1971571,1971572,1971573,1971574,1971575,1971576,1971580,2000102,2000103,2000104,2000105,2000106,2000107); +DELETE FROM `creature_addon` WHERE `guid` IN (57693,62952,62953,62954,62955); +DELETE FROM `linked_respawn` WHERE `guid` IN (57220,57221,57222,57223,57581,57582,57583,57584,57686,57687,57688,57689,57690,57691,57692,57693,57694,57695,57696,57698,57699,57700,59474,59475,59476,59477,62864,62865,62866,62867,62871,62872,62873,62934,62935,62936,62937,62938,62939,62940,62941,62942,62943,62944,62945,62946,62947,62948,62949,62952,62953,62954,62955,63390,63391,63392,63446,63447,85746,85747,85748,85749,85750,85751,85752,85753,86366,86368,86369,86370,86423,86427,86452,86453,86454,86455,86456,86457,86458,86459,86460,86461,86462,86463,86464,86465,86466); + +SET @CGUID := 151000; + +DELETE FROM `creature` WHERE `map` = 540 AND `zoneId` = 3714 AND `id1` IN (2110,2914,4075,9699,15384,16507,16523,16593,16594,16699,16700,16704,16807,16808,16809,17083,17289,17290,17292,17356,17357,17420,17427,17461,17462,17464,17465,17552,17578,17611,17669,17670,17671,17687,17693,17694,17695,19523,19524,20709) AND `guid` BETWEEN @CGUID+0 AND @CGUID+282; +INSERT INTO `creature` (`guid`, `id1`, `map`, `zoneId`, `areaId`, `spawnMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `VerifiedBuild`) VALUES +-- Entrance Hallway +(@CGUID+0, 17420, 540, 3714, 3714, 3, 1, 59.46694183349609375, 55.7273406982421875, -13.2002639770507812, 5.650152206420898437, 7200, 0, 0, 48966), +(@CGUID+1, 17420, 540, 3714, 3714, 3, 1, 56.37400436401367187, 57.27612686157226562, -13.1592693328857421, 6.029743671417236328, 7200, 0, 0, 48966), +(@CGUID+2, 17420, 540, 3714, 3714, 3, 1, 80.7486724853515625, 55.87627792358398437, -13.1460113525390625, 3.580806493759155273, 7200, 0, 0, 48966), +(@CGUID+3, 17420, 540, 3714, 3714, 3, 1, 84.95555877685546875, 56.459991455078125, -13.129836082458496, 3.484712839126586914, 7200, 0, 0, 48966), +(@CGUID+4, 17420, 540, 3714, 3714, 3, 1, 86.81368255615234375, 56.904266357421875, -13.1240797042846679, 3.324366092681884765, 7200, 0, 0, 48966), +(@CGUID+5, 16700, 540, 3714, 3714, 3, 1, 55.643723, 2.632497, -13.2085495, 3.1915, 7200, 0, 0, 46924), +-- Entrance Hall +(@CGUID+6 , 16507, 540, 3714, 3714, 3, 1, 66.4761, 41.3677, -13.1385, 4.69494, 7200, 0, 0, 46924), +(@CGUID+7 , 16507, 540, 3714, 3714, 3, 1, 73.1236, 41.2079, -13.1385, 4.62512, 7200, 0, 0, 46924), +(@CGUID+8 , 16507, 540, 3714, 3714, 3, 1, 65.2527, 97.5125, -13.1385, 4.69494, 7200, 0, 0, 46924), +(@CGUID+9 , 16507, 540, 3714, 3714, 3, 1, 73.9969, 96.7719, -13.1385, 4.53786, 7200, 0, 0, 46924), +(@CGUID+10, 16700, 540, 3714, 3714, 3, 1, 57.7881, 73.722, -13.1444, 0.753955, 7200, 0, 0, 46924), +(@CGUID+11, 16594, 540, 3714, 3714, 3, 0, 54.4005, 77.7188, -13.1092, 5.55015, 7200, 0, 0, 46924), +(@CGUID+12, 17420, 540, 3714, 3714, 3, 1, 56.461, 79.2481, -13.0995, 5.46288, 7200, 0, 0, 46924), +(@CGUID+13, 16523, 540, 3714, 3714, 3, 1, 63.3135, 84.0945, -13.1156, 4.66003, 7200, 0, 0, 46924), +(@CGUID+14, 16594, 540, 3714, 3714, 3, 0, 65.4234, 84.6101, -13.1184, 4.60767, 7200, 0, 0, 46924), +(@CGUID+15, 16594, 540, 3714, 3714, 3, 0, 75.3346, 83.7984, -13.1169, 4.13643, 7200, 0, 0, 46924), +(@CGUID+16, 17420, 540, 3714, 3714, 3, 1, 77.3988, 82.8904, -13.1101, 3.9619, 7200, 0, 0, 46924), +(@CGUID+17, 17694, 540, 3714, 3714, 3, 0, 82.4351, 76.1707, -13.1121, 3.735, 7200, 0, 0, 46924), +(@CGUID+18, 17420, 540, 3714, 3714, 3, 1, 84.0513, 74.3693, -13.1203, 3.71755, 7200, 0, 0, 46924), +-- Legionnaire Gauntlet Group 1 +(@CGUID+19, 16700, 540, 3714, 3714, 3, 1, 85.41615, 150.316, -13.221173, 3.081665992736816406, 7200, 0, 0, 46924), +(@CGUID+20, 16699, 540, 3714, 3714, 3, 1, 88.01713, 149.39388, -13.1468315, 3.175921201705932617, 7200, 0, 0, 46924), +(@CGUID+21, 16704, 540, 3714, 3714, 3, 1, 50.224598, 152.25159, -13.143295, 6.161419868469238281, 7200, 0, 0, 46924), +(@CGUID+22, 17420, 540, 3714, 3714, 3, 1, 88.984535, 150.3885, -13.146009, 3.22771310806274414, 7200, 0, 0, 46924), +(@CGUID+23, 17694, 540, 3714, 3714, 3, 0, 50.63941, 151.31094, -13.146373, 6.038486480712890625, 7200, 0, 0, 46924), +-- Legionnaire Gauntlet Group 2 +(@CGUID+24, 16700, 540, 3714, 3714, 3, 1, 85.99913, 186.98563, -13.152245, 3.429332494735717773, 7200, 0, 0, 46924), +(@CGUID+25, 16699, 540, 3714, 3714, 3, 1, 53.95461, 192.43112, -13.141473, 6.05307769775390625, 7200, 0, 0, 46924), +(@CGUID+26, 16704, 540, 3714, 3714, 3, 1, 85.41226, 181.4781, -13.142398, 3.67351531982421875, 7200, 0, 0, 46924), +(@CGUID+27, 16704, 540, 3714, 3714, 3, 1, 54.244495, 181.24185, -13.142438, 5.753053665161132812, 7200, 0, 0, 46924), +(@CGUID+28, 17694, 540, 3714, 3714, 3, 0, 85.84835, 193.06874, -13.139966, 3.450110673904418945, 7200, 0, 0, 46924), +-- Legionnaire Gauntlet Group 3 +(@CGUID+29, 16700, 540, 3714, 3714, 3, 1, 59.268475, 224.41727, -13.136728, 5.210062026977539062, 7200, 0, 0, 46924), +(@CGUID+30, 16699, 540, 3714, 3714, 3, 1, 60.96891, 219.43309, -13.194069, 5.601321697235107421, 7200, 0, 0, 46924), +(@CGUID+31, 16699, 540, 3714, 3714, 3, 1, 63.214092, 222.1942, -13.155267, 5.854599952697753906, 7200, 0, 0, 46924), +(@CGUID+32, 16704, 540, 3714, 3714, 3, 1, 76.789505, 221.83418, -13.204874, 3.881541728973388671, 7200, 0, 0, 46924), +(@CGUID+33, 16704, 540, 3714, 3714, 3, 1, 77.27148, 221.63124, -13.205348, 3.700255870819091796, 7200, 0, 0, 46924), +(@CGUID+34, 16704, 540, 3714, 3714, 3, 1, 83.88206, 223.66586, -13.117929, 3.963497877120971679, 7200, 0, 0, 46924), +-- Barracks w/ Hammocks +(@CGUID+35, 16700, 540, 3714, 3714, 3, 1, 69.760185, 263.40073, -13.201066, 3.944444179534912109, 7200, 0, 0, 46924), +(@CGUID+36, 17083, 540, 3714, 3714, 3, 0, 67.6849, 270.865, -13.1014, 4.17134, 7200, 0, 0, 46924), +(@CGUID+37, 16523, 540, 3714, 3714, 3, 1, 72.6862, 267.434, -13.1023, 3.94444, 7200, 0, 0, 46924), +(@CGUID+38, 17083, 540, 3714, 3714, 3, 0, 78.1933, 264.122, -13.1129, 3.71755, 7200, 0, 0, 46924), +(@CGUID+39, 17694, 540, 3714, 3714, 3, 0, 72.871, 274.047, -13.1036, 4.08407, 7200, 0, 0, 46924), +(@CGUID+40, 16699, 540, 3714, 3714, 3, 1, 77.8619, 270.631, -13.1145, 3.89208, 7200, 0, 0, 46924), +(@CGUID+41, 16594, 540, 3714, 3714, 3, 0, 83.3397, 265.004, -13.1239, 3.66519, 7200, 0, 0, 46924), +(@CGUID+42, 16593, 540, 3714, 3714, 3, 0, 43.5914, 253.725, -10.9988, 1.58825, 7200, 0, 0, 46924), +(@CGUID+43, 16593, 540, 3714, 3714, 3, 0, 43.5588, 265.281, -10.7783, 1.65806, 7200, 0, 0, 46924), +(@CGUID+44, 16593, 540, 3714, 3714, 3, 0, 69.6697, 286.034, -10.8391, 0.122173, 7200, 0, 0, 46924), +(@CGUID+45, 16594, 540, 3714, 3714, 3, 0, 83.5451, 286.75, -10.8789, 3.03687, 7200, 0, 0, 46924), +(@CGUID+46, 17670, 540, 3714, 3714, 3, 1, 103.037, 266.34, -13.1397, 2.9147, 7200, 0, 0, 46924), +(@CGUID+47, 17669, 540, 3714, 3714, 3, 0, 102.997, 269.962, -13.1397, 3.19395, 7200, 0, 0, 46924), +(@CGUID+48, 17669, 540, 3714, 3714, 3, 0, 102.89, 262.341, -13.1397, 3.00197, 7200, 0, 0, 46924), +-- Sewers +(@CGUID+49, 17356, 540, 3714, 3714, 3, 0, 124.67, 208.159, -48.792, 5.11107, 7200, 3, 1, 46924), +(@CGUID+50, 17357, 540, 3714, 3714, 3, 0, 124.67, 208.159, -48.792, 5.11107, 7200, 0, 0, 46924), +(@CGUID+51, 17357, 540, 3714, 3714, 3, 0, 124.67, 208.159, -48.792, 5.11107, 7200, 0, 0, 46924), +(@CGUID+52, 17357, 540, 3714, 3714, 3, 0, 124.67, 208.159, -48.792, 5.11107, 7200, 0, 0, 46924), +(@CGUID+53, 17357, 540, 3714, 3714, 3, 0, 124.67, 208.159, -48.792, 5.11107, 7200, 0, 0, 46924), +(@CGUID+54, 17357, 540, 3714, 3714, 3, 0, 124.67, 208.159, -48.792, 5.11107, 7200, 0, 0, 46924), +(@CGUID+55, 17356, 540, 3714, 3714, 3, 0, 138.687, 188.392, -46.6326, 5.45529, 7200, 3, 1, 46924), +(@CGUID+56, 17357, 540, 3714, 3714, 3, 0, 138.687, 188.392, -46.6326, 5.45529, 7200, 0, 0, 46924), +(@CGUID+57, 17357, 540, 3714, 3714, 3, 0, 138.687, 188.392, -46.6326, 5.45529, 7200, 0, 0, 46924), +(@CGUID+58, 17357, 540, 3714, 3714, 3, 0, 138.687, 188.392, -46.6326, 5.45529, 7200, 0, 0, 46924), +(@CGUID+59, 17357, 540, 3714, 3714, 3, 0, 138.687, 188.392, -46.6326, 5.45529, 7200, 0, 0, 46924), +(@CGUID+60, 17357, 540, 3714, 3714, 3, 0, 138.687, 188.392, -46.6326, 5.45529, 7200, 0, 0, 46924), +(@CGUID+61, 17356, 540, 3714, 3714, 3, 0, 148.252, 179.277, -44.3222, 2.41444, 7200, 3, 1, 46924), +(@CGUID+62, 17357, 540, 3714, 3714, 3, 0, 148.252, 179.277, -44.3222, 2.41444, 7200, 0, 0, 46924), +(@CGUID+63, 17357, 540, 3714, 3714, 3, 0, 148.252, 179.277, -44.3222, 2.41444, 7200, 0, 0, 46924), +(@CGUID+64, 17357, 540, 3714, 3714, 3, 0, 148.252, 179.277, -44.3222, 2.41444, 7200, 0, 0, 46924), +(@CGUID+65, 17357, 540, 3714, 3714, 3, 0, 148.252, 179.277, -44.3222, 2.41444, 7200, 0, 0, 46924), +(@CGUID+66, 17357, 540, 3714, 3714, 3, 0, 148.252, 179.277, -44.3222, 2.41444, 7200, 0, 0, 46924), +(@CGUID+67, 17356, 540, 3714, 3714, 3, 0, 162.659, 168.309, -42.2493, 2.0156, 7200, 3, 1, 46924), +(@CGUID+68, 17357, 540, 3714, 3714, 3, 0, 162.659, 168.309, -42.2493, 2.0156, 7200, 0, 0, 46924), +(@CGUID+69, 17357, 540, 3714, 3714, 3, 0, 162.659, 168.309, -42.2493, 2.0156, 7200, 0, 0, 46924), +(@CGUID+70, 17357, 540, 3714, 3714, 3, 0, 162.659, 168.309, -42.2493, 2.0156, 7200, 0, 0, 46924), +(@CGUID+71, 17357, 540, 3714, 3714, 3, 0, 162.659, 168.309, -42.2493, 2.0156, 7200, 0, 0, 46924), +(@CGUID+72, 17357, 540, 3714, 3714, 3, 0, 162.659, 168.309, -42.2493, 2.0156, 7200, 0, 0, 46924), +(@CGUID+73, 17356, 540, 3714, 3714, 3, 0, 176.396, 164.553, -42.18, 2.80574, 7200, 3, 1, 46924), +(@CGUID+74, 17357, 540, 3714, 3714, 3, 0, 176.396, 164.553, -42.18, 2.80574, 7200, 0, 0, 46924), +(@CGUID+75, 17357, 540, 3714, 3714, 3, 0, 176.396, 164.553, -42.18, 2.80574, 7200, 0, 0, 46924), +(@CGUID+76, 17357, 540, 3714, 3714, 3, 0, 176.396, 164.553, -42.18, 2.80574, 7200, 0, 0, 46924), +(@CGUID+77, 17357, 540, 3714, 3714, 3, 0, 176.396, 164.553, -42.18, 2.80574, 7200, 0, 0, 46924), +(@CGUID+78, 17357, 540, 3714, 3714, 3, 0, 176.396, 164.553, -42.18, 2.80574, 7200, 0, 0, 46924), +(@CGUID+79, 17356, 540, 3714, 3714, 3, 0, 193.132, 160.608, -42.2792, 2.05846, 7200, 3, 1, 46924), +(@CGUID+80, 17357, 540, 3714, 3714, 3, 0, 193.132, 160.608, -42.2792, 2.05846, 7200, 0, 0, 46924), +(@CGUID+81, 17357, 540, 3714, 3714, 3, 0, 193.132, 160.608, -42.2792, 2.05846, 7200, 0, 0, 46924), +(@CGUID+82, 17357, 540, 3714, 3714, 3, 0, 193.132, 160.608, -42.2792, 2.05846, 7200, 0, 0, 46924), +(@CGUID+83, 17357, 540, 3714, 3714, 3, 0, 193.132, 160.608, -42.2792, 2.05846, 7200, 0, 0, 46924), +(@CGUID+84, 17357, 540, 3714, 3714, 3, 0, 193.132, 160.608, -42.2792, 2.05846, 7200, 0, 0, 46924), +(@CGUID+85, 17357, 540, 3714, 3714, 3, 0, 142.67876, 179.54286, -45.22208, 5.597100257873535156, 5, 0, 2, 46924), -- This one runs +(@CGUID+86, 17357, 540, 3714, 3714, 3, 0, 117.66704, 239.21227, -45.81315, 5.109923839569091796, 5, 0, 2, 46924), +(@CGUID+87, 17357, 540, 3714, 3714, 3, 0, 137.08922, 183.8087, -46.44835, 2.17175149917602539, 5, 0, 2, 46924), +(@CGUID+88, 17357, 540, 3714, 3714, 3, 0, 129.64264, 223.55156, -47.667793, 1.359372735023498535, 5, 0, 2, 46924), +-- Netherkurse +(@CGUID+89, 16807, 540, 3714, 3714, 3, 1, 172.663, 289.61, -8.11541, 6.01108, 7200, 0, 0, 46924), +(@CGUID+90, 17083, 540, 3714, 3714, 3, 0, 164.716, 266.263, -13.1122, 1.0472, 7200, 0, 0, 46924), +(@CGUID+91, 17083, 540, 3714, 3714, 3, 0, 174.049, 269.132, -13.0549, 1.44862, 7200, 0, 0, 46924), +(@CGUID+92, 17083, 540, 3714, 3714, 3, 0, 184.426, 269.294, -13.0556, 1.72788, 7200, 0, 0, 46924), +(@CGUID+93, 17083, 540, 3714, 3714, 3, 0, 194.484, 267.072, -13.104, 2.18166, 7200, 0, 0, 46924), +-- Gauntlet of Flame: Entrance & Scout +(@CGUID+94, 17693, 540, 3714, 3714, 3, 1, 341.289, 314.903, 2.01274, 3.14159, 7200, 0, 0, 46924), +(@CGUID+95, 17462, 540, 3714, 3714, 3, 1, 335.664, 317.559, 2.02484, 5.28835, 7200, 0, 0, 46924), +(@CGUID+96, 17462, 540, 3714, 3714, 3, 1, 332.262, 314.085, 2.03071, 0.15708, 7200, 0, 0, 46924), +(@CGUID+97, 17462, 540, 3714, 3714, 3, 1, 335.331, 311.709, 2.02385, 0.994838, 7200, 0, 0, 46924), +-- Gauntlet of Flame: Flame Arrows +(@CGUID+98 , 17687, 540, 3714, 3714, 3, 0, 315.47333, 317.611, 1.9155742, 0, 7200, 15, 1, 46924), +(@CGUID+99 , 17687, 540, 3714, 3714, 3, 0, 318.19653, 315.56714, 1.9148813, 0, 7200, 17, 1, 46924), +(@CGUID+100, 17687, 540, 3714, 3714, 3, 0, 367.3723, 315.96408, 1.9181709, 0, 7200, 13, 1, 46924), +(@CGUID+101, 17687, 540, 3714, 3714, 3, 0, 367.25385, 315.3419, 1.9181705, 0, 7200, 14, 1, 46924), +(@CGUID+102, 17687, 540, 3714, 3714, 3, 0, 441.56924, 305.08273, 1.8971854, 0, 7200, 12.5, 1, 46924), +(@CGUID+103, 17687, 540, 3714, 3714, 3, 0, 442.95102, 307.75934, 1.900094, 0, 7200, 12, 1, 46924), +(@CGUID+104, 17687, 540, 3714, 3714, 3, 0, 358.6019, 316.4396, 1.918161, 0, 7200, 13, 1, 46924), +(@CGUID+105, 17687, 540, 3714, 3714, 3, 0, 357.52982, 316.52017, 1.9181601, 0, 7200, 14, 1, 46924), +(@CGUID+106, 17687, 540, 3714, 3714, 3, 0, 291.5139, 313.5123, 1.8765749, 0, 7200, 14, 1, 46924), +(@CGUID+107, 17687, 540, 3714, 3714, 3, 0, 290.30734, 313.1281, 1.8749474, 0, 7200, 14, 1, 46924), +(@CGUID+108, 17687, 540, 3714, 3714, 3, 0, 378.6447, 315.4403, 1.9377049, 0, 7200, 14, 1, 46924), +(@CGUID+109, 17687, 540, 3714, 3714, 3, 0, 379.48438, 315.31912, 1.9419425, 0, 7200, 13, 1, 46924), +(@CGUID+110, 17687, 540, 3714, 3714, 3, 0, 467.45084, 315.52487, 1.9221177, 0, 7200, 13, 1, 46924), +(@CGUID+111, 17687, 540, 3714, 3714, 3, 0, 468.68674, 316.4247, 1.9187597, 0, 7200, 13, 1, 46924), +(@CGUID+112, 17687, 540, 3714, 3714, 3, 0, 418.2386, 316.02777, 1.9457496, 0, 7200, 14.5, 1, 46924), +(@CGUID+113, 17687, 540, 3714, 3714, 3, 0, 418.21576, 315.62292, 1.9457992, 0, 7200, 15, 1, 46924), +(@CGUID+114, 17687, 540, 3714, 3714, 3, 0, 449.2414, 313.27774, 1.9258982, 0, 7200, 12.5, 1, 46924), +(@CGUID+115, 17687, 540, 3714, 3714, 3, 0, 463.47702, 317.3829, 1.9336692, 0, 7200, 13, 1, 46924), +(@CGUID+116, 17687, 540, 3714, 3714, 3, 0, 400.82675, 318.44934, 1.9046189, 0, 7200, 14, 1, 46924), +(@CGUID+117, 17687, 540, 3714, 3714, 3, 0, 399.48962, 320.64587, 1.9072247, 0, 7200, 15, 1, 46924), +-- Gauntlet of Flame: Boss +(@CGUID+118, 17461, 540, 3714, 3714, 3, 1, 512.687, 315.652, 2.0405, 2.98451, 7200, 0, 0, 46924), +(@CGUID+119, 17427, 540, 3714, 3714, 3, 1, 514.501, 319.657, 2.04256, 3.36849, 7200, 0, 0, 46924), +(@CGUID+120, 17427, 540, 3714, 3714, 3, 1, 514.805, 312.041, 2.03643, 3.00197, 7200, 0, 0, 46924), +(@CGUID+121, 17462, 540, 3714, 3714, 3, 1, 499.08, 322.252, 2.03142, 3.28122, 7200, 0, 0, 46924), +(@CGUID+122, 17462, 540, 3714, 3714, 3, 1, 499.854, 318.808, 2.03221, 3.15905, 7200, 0, 0, 46924), +(@CGUID+123, 17462, 540, 3714, 3714, 3, 1, 499.74, 313.28, 2.03214, 3.03687, 7200, 0, 0, 46924), +(@CGUID+124, 17462, 540, 3714, 3714, 3, 1, 498.935, 309.12, 2.03075, 3.00197, 7200, 0, 0, 46924), +-- Sparring Hall +(@CGUID+125, 17670, 540, 3714, 3714, 3, 1, 519.867, 234.352, 1.94036, 1.0861, 7200, 0, 0, 46924), +(@CGUID+126, 17669, 540, 3714, 3714, 3, 0, 519.867, 234.352, 1.94036, 1.0861, 7200, 0, 0, 46924), +(@CGUID+127, 17669, 540, 3714, 3714, 3, 0, 519.867, 234.352, 1.94036, 1.0861, 7200, 0, 0, 46924), +(@CGUID+128, 17670, 540, 3714, 3714, 3, 1, 444.895, 60.1288, 1.92657, 2.91832, 7200, 0, 0, 46924), +(@CGUID+129, 17669, 540, 3714, 3714, 3, 0, 444.895, 60.1288, 1.92657, 2.91832, 7200, 0, 0, 46924), +(@CGUID+130, 17669, 540, 3714, 3714, 3, 0, 444.895, 60.1288, 1.92657, 2.91832, 7200, 0, 0, 46924), +(@CGUID+131, 16700, 540, 3714, 3714, 3, 1, 528.1561, 228.07251, 1.9335356, 3.436, 7200, 0, 0, 46924), +(@CGUID+132, 16594, 540, 3714, 3714, 3, 0, 525.954, 224.065, 2.01948, 2.00713, 7200, 0, 0, 46924), +(@CGUID+133, 17694, 540, 3714, 3714, 3, 0, 523.479, 222.138, 2.01358, 1.76278, 7200, 0, 0, 46924), +(@CGUID+134, 17420, 540, 3714, 3714, 3, 1, 528.68, 223.405, 2.02312, 2.1293, 7200, 0, 0, 46924), +(@CGUID+135, 16699, 540, 3714, 3714, 3, 1, 525.762, 220.791, 2.01693, 1.91986, 7200, 0, 0, 46924), +(@CGUID+136, 17420, 540, 3714, 3714, 3, 1, 522.697, 218.956, 2.00999, 1.71042, 7200, 0, 0, 46924), +(@CGUID+137, 16700, 540, 3714, 3714, 3, 1, 511.35275, 162.06738, 1.9312072, 6.00745, 7200, 0, 0, 46924), +(@CGUID+138, 17694, 540, 3714, 3714, 3, 0, 522.82, 154.456, 2.01251, 2.18166, 7200, 0, 0, 46924), +(@CGUID+139, 16699, 540, 3714, 3714, 3, 1, 519.49, 152.004, 2.01341, 1.69297, 7200, 0, 0, 46924), +(@CGUID+140, 17420, 540, 3714, 3714, 3, 1, 515.54, 152.437, 2.01156, 1.23918, 7200, 0, 0, 46924), +(@CGUID+141, 16594, 540, 3714, 3714, 3, 0, 512.748, 154.621, 2.00748, 0.820305, 7200, 0, 0, 46924), +(@CGUID+142, 16699, 540, 3714, 3714, 3, 1, 510.858, 157.573, 2.00774, 0.401426, 7200, 0, 0, 46924), +(@CGUID+143, 17465, 540, 3714, 3714, 3, 1, 483.204, 233.219, 0.336649, 0.261799, 7200, 0, 0, 46924), +(@CGUID+144, 17464, 540, 3714, 3714, 3, 1, 488.32095, 229.2469, 0.28818652, 2.478367567062377929, 7200, 0, 0, 46924), +(@CGUID+145, 17464, 540, 3714, 3714, 3, 1, 482.551, 228.246, 0.345921, 0.890118, 7200, 0, 0, 46924), +(@CGUID+146, 17464, 540, 3714, 3714, 3, 1, 486.253, 239.633, 0.336781, 3.59538, 7200, 0, 0, 46924), +(@CGUID+147, 17464, 540, 3714, 3714, 3, 1, 481.735, 236.445, 0.334576, 5.55015, 7200, 0, 0, 46924), +(@CGUID+148, 17465, 540, 3714, 3714, 3, 1, 551.807, 233.474, 0.336679, 5.25344, 7200, 0, 0, 46924), +(@CGUID+149, 17464, 540, 3714, 3714, 3, 1, 555.099, 238.775, 0.329437, 3.83972, 7200, 0, 0, 46924), +(@CGUID+150, 17464, 540, 3714, 3714, 3, 1, 558.677, 234.456, 0.347132, 3.33358, 7200, 0, 0, 46924), +(@CGUID+151, 17464, 540, 3714, 3714, 3, 1, 548.592, 228.685, 0.404458, 1.27409, 7200, 0, 0, 46924), +(@CGUID+152, 17464, 540, 3714, 3714, 3, 1, 555.443, 226.54, 0.349583, 1.81514, 7200, 0, 0, 46924), +(@CGUID+153, 17465, 540, 3714, 3714, 3, 1, 548.082, 147.745, 0.344423, 5.09636, 7200, 0, 0, 46924), +(@CGUID+154, 17464, 540, 3714, 3714, 3, 1, 554.034, 141.144, 0.339486, 2.33874, 7200, 0, 0, 46924), +(@CGUID+155, 17464, 540, 3714, 3714, 3, 1, 552.132, 149.601, 0.333172, 3.40339, 7200, 0, 0, 46924), +(@CGUID+156, 17464, 540, 3714, 3714, 3, 1, 549.194, 141.835, 0.354883, 1.88496, 7200, 0, 0, 46924), +(@CGUID+157, 17464, 540, 3714, 3714, 3, 1, 556.409, 145.136, 0.338769, 2.84489, 7200, 0, 0, 46924), +(@CGUID+158, 17465, 540, 3714, 3714, 3, 1, 487.65, 145.294, 0.333057, 2.9147, 7200, 0, 0, 46924), +(@CGUID+159, 17464, 540, 3714, 3714, 3, 1, 489.581, 140.572, 0.466973, 1.88496, 7200, 0, 0, 46924), +(@CGUID+160, 17464, 540, 3714, 3714, 3, 1, 483.548, 139.49, 0.340312, 1.01229, 7200, 0, 0, 46924), +(@CGUID+161, 17464, 540, 3714, 3714, 3, 1, 480.191, 144.154, 0.340836, 6.16101, 7200, 0, 0, 46924), +(@CGUID+162, 17464, 540, 3714, 3714, 3, 1, 484.621, 149.136, 0.33073, 5.28835, 7200, 0, 0, 46924), +(@CGUID+163, 16523, 540, 3714, 3714, 3, 1, 514.082, 207.328, 2.00095, 3.82227, 7200, 0, 0, 46924), +(@CGUID+164, 17578, 540, 3714, 3714, 3, 0, 512.174, 205.351, 2.00779, 0.698132, 7200, 0, 0, 46924), +(@CGUID+165, 16593, 540, 3714, 3714, 3, 0, 515.289, 188.013, 2.00299, 3.735, 7200, 0, 0, 46924), +(@CGUID+166, 17578, 540, 3714, 3714, 3, 0, 512.93, 186.96, 2.00013, 0.767945, 7200, 0, 0, 46924), +(@CGUID+167, 17420, 540, 3714, 3714, 3, 1, 524.111, 179.183, 2.02228, 5.27089, 7200, 0, 0, 46924), +(@CGUID+168, 17578, 540, 3714, 3714, 3, 0, 525.067, 176.656, 2.01602, 2.35619, 7200, 0, 0, 46924), +(@CGUID+169, 16699, 540, 3714, 3714, 3, 1, 509.743, 133.421, 2.01747, 4.10152, 7200, 0, 0, 46924), +(@CGUID+170, 17578, 540, 3714, 3714, 3, 0, 508.17, 131.228, 2.01886, 1.22173, 7200, 0, 0, 46924), +(@CGUID+171, 16523, 540, 3714, 3714, 3, 1, 514.601, 120.46, 1.99257, 3.40339, 7200, 0, 0, 46924), +(@CGUID+172, 17578, 540, 3714, 3714, 3, 0, 512.597, 119.766, 1.99459, 0.663225, 7200, 0, 0, 46924), +(@CGUID+173, 16523, 540, 3714, 3714, 3, 1, 524.736, 120.87, 1.99425, 4.10152, 7200, 0, 0, 46924), +(@CGUID+174, 17578, 540, 3714, 3714, 3, 0, 523.467, 119.278, 1.94614, 2.04204, 7200, 0, 0, 46924), +(@CGUID+175, 17671, 540, 3714, 3714, 3, 1, 523.41, 85.7323, 2.01659, 1.81514, 7200, 0, 0, 46924), +(@CGUID+176, 17671, 540, 3714, 3714, 3, 1, 514.317, 86.3329, 2.01648, 1.20428, 7200, 0, 0, 46924), +(@CGUID+177, 17671, 540, 3714, 3714, 3, 1, 448.366, 53.2979, 2.02294, 0.488692, 7200, 0, 0, 46924), +(@CGUID+178, 17671, 540, 3714, 3714, 3, 1, 448.634, 62.3755, 2.01648, 5.65487, 7200, 0, 0, 46924), +(@CGUID+179, 16809, 540, 3714, 3714, 3, 1, 375.12, 57.5781, -7.21592, 6.17847, 7200, 0, 0, 46924), +-- After Sparring Hall +(@CGUID+180, 17670, 540, 3714, 3714, 3, 1, 287.82153, -84.24349, 1.9618785, 3.07991, 7200, 0, 2, 46924), +(@CGUID+181, 17669, 540, 3714, 3714, 3, 0, 287.82153, -84.24349, 1.9618785, 3.07991, 7200, 0, 0, 46924), +(@CGUID+182, 17669, 540, 3714, 3714, 3, 0, 287.82153, -84.24349, 1.9618785, 3.07991, 7200, 0, 0, 46924), +(@CGUID+183, 17671, 540, 3714, 3714, 3, 1, 369.979, -7.8243, 2.00517, 1.32645, 7200, 0, 0, 46924), +(@CGUID+184, 17671, 540, 3714, 3714, 3, 1, 378.372, -7.73405, 1.99344, 1.8326, 7200, 0, 0, 46924), +(@CGUID+185, 17695, 540, 3714, 3714, 3, 1, 481.99506, 55.09308, 1.9351499, 4.88017, 7200, 4, 1, 46924), +(@CGUID+186, 17695, 540, 3714, 3714, 3, 1, 368.146, -23.7687, 1.91029, 3.49479, 7200, 10, 1, 46924), +(@CGUID+187, 17695, 540, 3714, 3714, 3, 1, 375.619, -48.7095, 1.92746, 5.76821, 7200, 10, 1, 46924), +(@CGUID+188, 17695, 540, 3714, 3714, 3, 1, 380.861, -60.6206, 1.92916, 0.456059, 7200, 10, 1, 46924), +(@CGUID+189, 17695, 540, 3714, 3714, 3, 1, 356.588, -75.8897, 1.91398, 1.45251, 7200, 10, 1, 46924), +(@CGUID+190, 17695, 540, 3714, 3714, 3, 1, 340.308, -83.4958, 1.93671, 5.56022, 7200, 10, 1, 46924), +(@CGUID+191, 17695, 540, 3714, 3714, 3, 1, 305.737, -82.712, 1.9369, 2.37143, 7200, 10, 1, 46924), +(@CGUID+192, 17671, 540, 3714, 3714, 3, 1, 282.958, -80.2876, 2.17246, 6.02139, 7200, 0, 0, 46924), +(@CGUID+193, 17671, 540, 3714, 3714, 3, 1, 283.552, -89.4281, 2.15809, 0.436332, 7200, 0, 0, 46924), +-- Kargath and Misc Creatures +(@CGUID+194, 15384, 540, 3714, 3714, 3, 0, 280.401, -91.7462, 1.82199, 2.44346, 7200, 0, 0, 46924), +(@CGUID+195, 16808, 540, 3714, 3714, 3, 0, 231.25, -83.6449, 5.02341, 6.26573, 7200, 0, 0, 46924), +(@CGUID+196, 17611, 540, 3714, 3714, 3, 0, 336.707, -84.0521, 1.99244, 3.12414, 7200, 0, 0, 46924), +-- Blade Dance Target +(@CGUID+197, 20709, 540, 3714, 3714, 3, 0, 267.997, -84.1363, 3.17459, 5.86431, 7200, 0, 0, 46924), +(@CGUID+198, 20709, 540, 3714, 3714, 3, 0, 260.148, -83.7987, 4.18424, 2.6529, 7200, 0, 0, 46924), +(@CGUID+199, 20709, 540, 3714, 3714, 3, 0, 251.623, -84.1218, 5.02172, 5.25344, 7200, 0, 0, 46924), +(@CGUID+200, 20709, 540, 3714, 3714, 3, 0, 249.962, -98.2689, 5.0227, 3.61283, 7200, 0, 0, 46924), +(@CGUID+201, 20709, 540, 3714, 3714, 3, 0, 242.707, -90.59, 5.02341, 5.11381, 7200, 0, 0, 46924), +(@CGUID+202, 20709, 540, 3714, 3714, 3, 0, 243.45, -77.2963, 5.0234, 4.55531, 7200, 0, 0, 46924), +(@CGUID+203, 20709, 540, 3714, 3714, 3, 0, 249.602, -69.3923, 5.0222, 1.39626, 7200, 0, 0, 46924), +(@CGUID+204, 20709, 540, 3714, 3714, 3, 0, 242.375, -63.7785, 5.02294, 3.05433, 7200, 0, 0, 46924), +(@CGUID+205, 20709, 540, 3714, 3714, 3, 0, 236.281, -68.8607, 5.02341, 5.14872, 7200, 0, 0, 46924), +(@CGUID+206, 20709, 540, 3714, 3714, 3, 0, 229.574, -76.4437, 5.02341, 2.14675, 7200, 0, 0, 46924), +(@CGUID+207, 20709, 540, 3714, 3714, 3, 0, 235.918, -83.9248, 5.02341, 1.81514, 7200, 0, 0, 46924), +(@CGUID+208, 20709, 540, 3714, 3714, 3, 0, 229.213, -91.2796, 5.02341, 0.244346, 7200, 0, 0, 46924), +(@CGUID+209, 20709, 540, 3714, 3714, 3, 0, 235.637, -99.7462, 5.02341, 5.34071, 7200, 0, 0, 46924), +(@CGUID+210, 20709, 540, 3714, 3714, 3, 0, 229.357, -104.793, 5.02341, 3.4383, 7200, 0, 0, 46924), +(@CGUID+211, 20709, 540, 3714, 3714, 3, 0, 222.929, -99.3172, 5.02341, 0.366519, 7200, 0, 0, 46924), +(@CGUID+212, 20709, 540, 3714, 3714, 3, 0, 223.158, -83.8724, 5.02341, 6.10865, 7200, 0, 0, 46924), +(@CGUID+213, 20709, 540, 3714, 3714, 3, 0, 223.486, -68.3885, 5.02341, 0.942478, 7200, 0, 0, 46924), +(@CGUID+214, 20709, 540, 3714, 3714, 3, 0, 229.37, -63.3378, 5.02341, 2.75762, 7200, 0, 0, 46924), +(@CGUID+215, 20709, 540, 3714, 3714, 3, 0, 216.282, -64.6925, 5.02281, 3.75246, 7200, 0, 0, 46924), +(@CGUID+216, 20709, 540, 3714, 3714, 3, 0, 210.256, -70.4671, 5.02276, 0.925025, 7200, 0, 0, 46924), +(@CGUID+217, 20709, 540, 3714, 3714, 3, 0, 216.1, -78.2583, 5.02342, 5.09636, 7200, 0, 0, 46924), +(@CGUID+218, 20709, 540, 3714, 3714, 3, 0, 215.421, -89.0572, 5.02341, 5.21853, 7200, 0, 0, 46924), +(@CGUID+219, 20709, 540, 3714, 3714, 3, 0, 209.371, -97.9959, 5.02256, 5.25344, 7200, 0, 0, 46924), +(@CGUID+220, 20709, 540, 3714, 3714, 3, 0, 216.092, -104.188, 5.0228, 1.48353, 7200, 0, 0, 46924), +(@CGUID+221, 20709, 540, 3714, 3714, 3, 0, 243.196, -104.702, 5.02294, 5.14872, 7200, 0, 0, 46924), +(@CGUID+222, 20709, 540, 3714, 3714, 3, 0, 207.548, -84.2186, 5.02176, 0.122173, 7200, 0, 0, 46924), +(@CGUID+223, 20709, 540, 3714, 3714, 3, 0, 198.564, -84.262, 3.9186, 4.01426, 7200, 0, 0, 46924), +(@CGUID+224, 20709, 540, 3714, 3714, 3, 0, 190.912, -84.5878, 2.68429, 5.75959, 7200, 0, 0, 46924), +-- Misc and Critters +(@CGUID+225, 2110, 540, 3714, 3714, 3, 0, 251.665, 265.664, -13.2148, 2.06539, 7200, 3, 1, 46924), +(@CGUID+226, 2110, 540, 3714, 3714, 3, 0, 46.7333, 280.268, -13.0949, 5.52775, 7200, 3, 1, 46924), +(@CGUID+227, 2110, 540, 3714, 3714, 3, 0, 94.08, 79.9588, -13.1214, 3.30033, 7200, 3, 1, 46924), +(@CGUID+228, 2110, 540, 3714, 3714, 3, 0, 347.952, 16.5267, 1.06343, 4.63057, 7200, 3, 1, 46924), +(@CGUID+229, 2110, 540, 3714, 3714, 3, 0, 199.099, 245.199, -13.1888, 2.27784, 7200, 3, 1, 46924), +(@CGUID+230, 2110, 540, 3714, 3714, 3, 0, 134.093, 262.881, -13.2039, 3.17039, 7200, 3, 1, 46924), +(@CGUID+231, 2110, 540, 3714, 3714, 3, 0, 52.1139, 282.304, -13.1718, 5.26618, 7200, 3, 1, 46924), +(@CGUID+232, 2110, 540, 3714, 3714, 3, 0, -11.2081, 7.68873, -13.129, 4.78139, 7200, 3, 1, 46924), +(@CGUID+233, 2110, 540, 3714, 3714, 3, 0, 73.5354, 11.55, -13.1328, 0.27391, 7200, 3, 1, 46924), +(@CGUID+234, 2110, 540, 3714, 3714, 3, 0, 321.586, 293.545, 1.9513, 2.18147, 7200, 3, 1, 46924), +(@CGUID+235, 2110, 540, 3714, 3714, 3, 0, 342.022, 335.926, 1.94571, 0.0293224, 7200, 3, 1, 46924), +(@CGUID+236, 2110, 540, 3714, 3714, 3, 0, 367.302, -46.1811, 2.00129, 3.9968, 7200, 3, 1, 46924), +(@CGUID+237, 2914, 540, 3714, 3714, 3, 0, 159.631, 177.728, -43.0013, 2.54818, 7200, 3, 1, 46924), +(@CGUID+238, 2914, 540, 3714, 3714, 3, 0, 124.742, 220.614, -47.9206, 1.0035, 7200, 3, 1, 46924), +(@CGUID+239, 2914, 540, 3714, 3714, 3, 0, 184.367, 157.124, -42.3584, 3.05591, 7200, 3, 1, 46924), +(@CGUID+240, 2914, 540, 3714, 3714, 3, 0, 181.151, 222.397, -19.6922, 6.26573, 7200, 3, 1, 46924), +(@CGUID+241, 2914, 540, 3714, 3714, 3, 0, 119.052, 236.144, -46.1731, 5.09224, 7200, 3, 1, 46924), +(@CGUID+242, 2914, 540, 3714, 3714, 3, 0, 174.847, 197.706, -27.5854, 5.01886, 7200, 3, 1, 46924), +(@CGUID+243, 2914, 540, 3714, 3714, 3, 0, 197.481, 156.109, -42.2991, 2.7598, 7200, 3, 1, 46924), +(@CGUID+244, 2914, 540, 3714, 3714, 3, 0, 126.033, 194.803, -48.3006, 4.4855, 7200, 3, 1, 46924), +(@CGUID+245, 2914, 540, 3714, 3714, 3, 0, 168.593, 160.553, -42.2533, 5.51524, 7200, 3, 1, 46924), +(@CGUID+246, 4075, 540, 3714, 3714, 3, 0, 178.588, 301.578, -8.11064, 5.09636, 7200, 3, 1, 46924), +(@CGUID+247, 4075, 540, 3714, 3714, 3, 0, 115.904, 222.308, -47.8358, 1.43212, 7200, 3, 1, 46924), +(@CGUID+248, 4075, 540, 3714, 3714, 3, 0, 45.8863, 251.768, -13.0772, 4.46665, 7200, 3, 1, 46924), +(@CGUID+249, 4075, 540, 3714, 3714, 3, 0, 337.233, -79.0675, 1.99147, 5.91667, 7200, 3, 1, 46924), +(@CGUID+250, 4075, 540, 3714, 3714, 3, 0, 161.532, 243.651, -13.2021, 4.86516, 7200, 3, 1, 46924), +(@CGUID+251, 4075, 540, 3714, 3714, 3, 0, 120.152, 255.571, -45.2492, 0.346671, 7200, 3, 1, 46924), +(@CGUID+252, 4075, 540, 3714, 3714, 3, 0, 203.153, 165.241, -42.4009, 4.39392, 7200, 3, 1, 46924), +(@CGUID+253, 4075, 540, 3714, 3714, 3, 0, 47.3806, 64.6778, -13.2225, 1.09226, 7200, 3, 1, 46924), +(@CGUID+254, 4075, 540, 3714, 3714, 3, 0, 414.012, 91.9741, 1.03382, 0.263185, 7200, 3, 1, 46924), +(@CGUID+255, 4075, 540, 3714, 3714, 3, 0, 503.182, 295.401, 1.94413, 0.758767, 7200, 3, 1, 46924), +(@CGUID+256, 4075, 540, 3714, 3714, 3, 0, 499.689, 293.094, 2.01138, 3.83972, 7200, 3, 1, 46924), +(@CGUID+257, 4075, 540, 3714, 3714, 3, 0, 503.212, 295.691, 1.94484, 4.88085, 7200, 3, 1, 46924), +(@CGUID+258, 4075, 540, 3714, 3714, 3, 0, 533.074, 294.955, 1.9207, 3.17615, 7200, 3, 1, 46924), +(@CGUID+259, 4075, 540, 3714, 3714, 3, 0, 527.371, 338.501, 2.0916, 2.0944, 7200, 3, 1, 46924), +(@CGUID+260, 4075, 540, 3714, 3714, 3, 0, 500.992, 53.4041, 1.94292, 0.512541, 7200, 3, 1, 46924), +(@CGUID+261, 9699, 540, 3714, 3714, 3, 0, 55.5971, 223.362, -13.1222, 0.746031, 7200, 3, 1, 46924), +(@CGUID+262, 9699, 540, 3714, 3714, 3, 0, 59.1283, 225.709, -13.2041, 5.82077, 7200, 3, 1, 46924), +(@CGUID+263, 9699, 540, 3714, 3714, 3, 0, 61.6703, 218.987, -13.2231, 6.18056, 7200, 3, 1, 46924), +(@CGUID+264, 9699, 540, 3714, 3714, 3, 0, 82.703, 112.605, -13.1385, 5.77704, 7200, 3, 1, 46924), +(@CGUID+265, 9699, 540, 3714, 3714, 3, 0, 82.6187, 222.294, -13.201, 4.1933, 7200, 3, 1, 46924), +(@CGUID+266, 9699, 540, 3714, 3714, 3, 0, 80.29, 226.985, -13.1143, 4.76609, 7200, 3, 1, 46924), +(@CGUID+267, 9699, 540, 3714, 3714, 3, 0, 49.8961, 150.583, -13.2323, 5.36269, 7200, 3, 1, 46924), +(@CGUID+268, 9699, 540, 3714, 3714, 3, 0, 49.8609, 188.19, -13.228, 1.17657, 7200, 3, 1, 46924), +(@CGUID+269, 9699, 540, 3714, 3714, 3, 0, 86.9678, 155.807, -13.1448, 5.2649, 7200, 3, 1, 46924), +(@CGUID+270, 9699, 540, 3714, 3714, 3, 0, 58.192, 111.111, -13.2218, 5.72544, 7200, 3, 1, 46924), +(@CGUID+271, 9699, 540, 3714, 3714, 3, 0, 81.8277, 117.769, -13.1385, 5.46547, 7200, 3, 1, 46924), +(@CGUID+272, 9699, 540, 3714, 3714, 3, 0, 365.993, 329.519, 1.91816, 0.631458, 7200, 3, 1, 46924), +(@CGUID+273, 9699, 540, 3714, 3714, 3, 0, 439.021, 299.043, 1.90234, 0.999007, 7200, 3, 1, 46924), +(@CGUID+274, 9699, 540, 3714, 3714, 3, 0, 476.624, 304.875, 1.93335, 0.900225, 7200, 3, 1, 46924), +(@CGUID+275, 9699, 540, 3714, 3714, 3, 0, 476.025, 329.065, 1.93696, 5.79295, 7200, 3, 1, 46924), +(@CGUID+276, 9699, 540, 3714, 3714, 3, 0, 367.726, 329.993, 2.0015, 3.04944, 7200, 3, 1, 46924), +(@CGUID+277, 9699, 540, 3714, 3714, 3, 0, 475.238, 329.485, 2.00729, 4.31597, 7200, 3, 1, 46924), +(@CGUID+278, 17552, 540, 3714, 3714, 3, 0, 191.091, 279.152, 6.34782, 1.00312, 7200, 0, 0, 46924), +(@CGUID+279, 17552, 540, 3714, 3714, 3, 0, 165.173, 278.996, 7.50297, 0.586188, 7200, 0, 0, 46924), +(@CGUID+280, 17552, 540, 3714, 3714, 3, 0, 179.624, 258.152, 7.79562, 0.680079, 7200, 0, 0, 46924), +(@CGUID+281, 19523, 540, 3714, 3714, 3, 0, 374.379, 51.2857, 30.6439, 0.0349066, 7200, 0, 0, 46924), +(@CGUID+282, 19524, 540, 3714, 3714, 3, 0, 374.356, 64.5048, 31.2206, 6.07375, 7200, 0, 0, 46924); + +DELETE FROM `creature_addon` WHERE (`guid` BETWEEN @CGUID AND @CGUID+282); +INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES +(@CGUID+0 , 0, 0, 0, 0, 0, 0, NULL), +(@CGUID+1 , 0, 0, 0, 0, 0, 0, NULL), +(@CGUID+2 , 0, 0, 0, 0, 0, 0, NULL), +(@CGUID+3 , 0, 0, 0, 0, 0, 0, NULL), +(@CGUID+4 , 0, 0, 0, 0, 0, 0, NULL), +(@CGUID+6 , 0, 0, 0, 1, 333, 0, '18950'), +(@CGUID+7 , 0, 0, 0, 1, 333, 0, '18950'), +(@CGUID+8 , 0, 0, 0, 1, 333, 0, '18950'), +(@CGUID+9 , 0, 0, 0, 1, 333, 0, '18950'), +(@CGUID+46, 0, 0, 0, 2, 214, 0, NULL), +(@CGUID+121, 0, 0, 0, 1, 333, 0, '18950'), +(@CGUID+122, 0, 0, 0, 1, 333, 0, '18950'), +(@CGUID+123, 0, 0, 0, 1, 333, 0, '18950'), +(@CGUID+124, 0, 0, 0, 1, 333, 0, '18950'), +(@CGUID+119, 0, 0, 0, 2, 376, 0, NULL), +(@CGUID+120, 0, 0, 0, 2, 376, 0, NULL), +(@CGUID+175, 0, 0, 0, 1, 333, 0, '12782 18950'), +(@CGUID+176, 0, 0, 0, 1, 333, 0, '12782 18950'), +(@CGUID+177, 0, 0, 0, 1, 333, 0, '12782 18950'), +(@CGUID+178, 0, 0, 0, 1, 333, 0, '12782 18950'), +(@CGUID+183, 0, 0, 0, 1, 333, 0, '12782 18950'), +(@CGUID+184, 0, 0, 0, 1, 333, 0, '12782 18950'), +(@CGUID+192, 0, 0, 0, 1, 333, 0, '12782 18950'), +(@CGUID+193, 0, 0, 0, 1, 333, 0, '12782 18950'); + +UPDATE `creature_template_addon` SET `bytes2` = 1, `visibilityDistanceType` = 4, `auras` = '18950' WHERE (`entry` IN (17693, 20592)); -- Shattered Hand Scout triggers the start of Blood Guard Encounter +UPDATE `creature_template` SET `flags_extra` = `flags_extra`|2097152 WHERE (`entry` IN (17464, 20586)); +UPDATE `creature_template` SET `flags_extra` = `flags_extra`|33554432 WHERE (`entry` IN (17462, 20595)); + +DELETE FROM `creature_text` WHERE `CreatureID` IN (16700, 17693); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(16700, 0, 0, '%s goes into a rage after seeing a friend fall in battle!', 16, 0, 100, 0, 0, 0, 1151, 0, 'Shattered Hand Legionnaire'), +(16700, 1, 0, 'For Kargath! For Victory!', 12, 0, 100, 0, 0, 0, 16698, 0, 'Shattered Hand Legionnaire'), +(16700, 1, 1, 'Gakarah ma!', 12, 0, 100, 0, 0, 0, 16699, 0, 'Shattered Hand Legionnaire'), +(16700, 1, 2, 'Lok narash!', 12, 0, 100, 0, 0, 0, 16703, 0, 'Shattered Hand Legionnaire'), +(16700, 1, 3, 'Lok\'tar Illadari!', 12, 0, 100, 0, 0, 0, 16701, 0, 'Shattered Hand Legionnaire'), +(16700, 1, 4, 'The blood is our power!', 12, 0, 100, 0, 0, 0, 16700, 0, 'Shattered Hand Legionnaire'), +(16700, 1, 5, 'This world is OURS!', 12, 0, 100, 0, 0, 0, 16702, 0, 'Shattered Hand Legionnaire'), +(16700, 1, 6, 'We are the true Horde!', 12, 0, 100, 0, 0, 0, 16697, 0, 'Shattered Hand Legionnaire'), +(16700, 2, 0, 'Line up and crush these fools!', 14, 0, 100, 15, 0, 10187, 16346, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 2, 1, 'Form up! Let\'s make quick work of them!', 14, 0, 100, 15, 0, 10188, 16347, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 2, 2, 'Get ready! This shouldn\'t take long...', 14, 0, 100, 15, 0, 10189, 16349, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 2, 3, 'Form ranks and make the intruders pay!', 14, 0, 100, 15, 0, 10190, 17461, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 2, 4, 'Show them no quarter! Form up!', 14, 0, 100, 15, 0, 10191, 16350, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 2, 5, 'Lok-Narash! Defensive positions!', 14, 0, 100, 15, 0, 10192, 16352, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 2, 6, 'Hold the line! They must not get through!', 14, 0, 100, 15, 0, 10193, 16353, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 2, 7, 'Gakarah ma!', 14, 0, 100, 15, 0, 10194, 16354, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 2, 8, 'Hold them back at all costs!', 14, 0, 100, 15, 0, 10195, 17462, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 2, 9, 'We must halt their advance! Take your positions!', 14, 0, 100, 15, 0, 10196, 16355, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 3, 0, 'Fighter down!', 14, 0, 100, 0, 0, 10172, 16356, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 3, 1, 'Replacement, quickly!', 14, 0, 100, 0, 0, 10173, 16357, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 3, 2, 'Next warrior, now!', 14, 0, 100, 0, 0, 10174, 16358, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 3, 3, 'Fall in! Mok-thora ka!', 14, 0, 100, 0, 0, 10175, 16359, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 3, 4, 'Where\'s my support?', 14, 0, 100, 0, 0, 10176, 16360, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 3, 5, 'Look Alive!', 14, 0, 100, 0, 0, 10177, 0, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 3, 6, 'Engage the enemy!', 14, 0, 100, 0, 0, 10178, 0, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 3, 7, 'Attack!', 14, 0, 100, 0, 0, 10179, 0, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 3, 8, 'Next warrior, step up!', 14, 0, 100, 0, 0, 10180, 16361, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 3, 9, 'Join the fight! Agrama-ka!', 14, 0, 100, 0, 0, 10181, 16362, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 4, 0, 'Wake up, we\'re under attack!', 14, 0, 100, 0, 0, 10182, 16363, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 4, 1, 'Sleep on your own time!', 14, 0, 100, 0, 0, 10183, 16364, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 4, 2, 'Get up!', 14, 0, 100, 0, 0, 10184, 16365, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 4, 3, 'On your feet!', 14, 0, 100, 0, 0, 10185, 16366, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 4, 4, 'No time for slumber! Join the fight!', 14, 0, 100, 0, 0, 10186, 16367, 0, 'Shattered Hand Legionnaire - Variation 1'), +(16700, 5, 0, 'Line up and crush these fools!', 14, 0, 100, 15, 0, 10212, 16346, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 5, 1, 'Form up! Let\'s make quick work of them!', 14, 0, 100, 15, 0, 10213, 16347, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 5, 2, 'Get ready! This shouldn\'t take long...', 14, 0, 100, 15, 0, 10214, 16349, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 5, 3, 'Form ranks and make the intruders pay!', 14, 0, 100, 15, 0, 10215, 17461, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 5, 4, 'Show them no quarter! Form up!', 14, 0, 100, 15, 0, 10216, 16350, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 5, 5, 'Lok-Narash! Defensive positions!', 14, 0, 100, 15, 0, 10217, 16352, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 5, 6, 'Hold the line! They must not get through!', 14, 0, 100, 15, 0, 10218, 16353, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 5, 7, 'Gakarah ma!', 14, 0, 100, 15, 0, 10219, 16354, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 5, 8, 'Hold them back at all costs!', 14, 0, 100, 15, 0, 10220, 17462, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 5, 9, 'We must halt their advance! Take your positions!', 14, 0, 100, 15, 0, 10221, 16355, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 6, 0, 'Fighter down!', 14, 0, 100, 0, 0, 10197, 16356, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 6, 1, 'Replacement, quickly!', 14, 0, 100, 0, 0, 10198, 16357, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 6, 2, 'Next warrior, now!', 14, 0, 100, 0, 0, 10199, 16358, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 6, 3, 'Fall in! Mok-thora ka!', 14, 0, 100, 0, 0, 10200, 16359, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 6, 4, 'Where\'s my support?', 14, 0, 100, 0, 0, 10201, 16360, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 6, 5, 'Look Alive!', 14, 0, 100, 0, 0, 10202, 0, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 6, 6, 'Engage the enemy!', 14, 0, 100, 0, 0, 10203, 0, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 6, 7, 'Attack!', 14, 0, 100, 0, 0, 10204, 0, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 6, 8, 'Next warrior, step up!', 14, 0, 100, 0, 0, 10205, 16361, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 6, 9, 'Join the fight! Agrama-ka!', 14, 0, 100, 0, 0, 10206, 16362, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 7, 0, 'Wake up, we\'re under attack!', 14, 0, 100, 0, 0, 10207, 16363, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 7, 1, 'Sleep on your own time!', 14, 0, 100, 0, 0, 10208, 16364, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 7, 2, 'Get up!', 14, 0, 100, 0, 0, 10209, 16365, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 7, 3, 'On your feet!', 14, 0, 100, 0, 0, 10210, 16366, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 7, 4, 'No time for slumber! Join the fight!', 14, 0, 100, 0, 0, 10211, 16367, 0, 'Shattered Hand Legionnaire - Variation 2'), +(16700, 8, 0, 'Line up and crush these fools!', 14, 0, 100, 15, 0, 10237, 16346, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 8, 1, 'Form up! Let\'s make quick work of them!', 14, 0, 100, 15, 0, 10238, 16347, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 8, 2, 'Get ready! This shouldn\'t take long...', 14, 0, 100, 15, 0, 10239, 16349, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 8, 3, 'Form ranks and make the intruders pay!', 14, 0, 100, 15, 0, 10240, 17461, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 8, 4, 'Show them no quarter! Form up!', 14, 0, 100, 15, 0, 10241, 16350, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 8, 5, 'Lok-Narash! Defensive positions!', 14, 0, 100, 15, 0, 10242, 16352, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 8, 6, 'Hold the line! They must not get through!', 14, 0, 100, 15, 0, 10243, 16353, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 8, 7, 'Gakarah ma!', 14, 0, 100, 15, 0, 10244, 16354, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 8, 8, 'Hold them back at all costs!', 14, 0, 100, 15, 0, 10245, 17462, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 8, 9, 'We must halt their advance! Take your positions!', 14, 0, 100, 15, 0, 10246, 16355, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 9, 0, 'Fighter down!', 14, 0, 100, 0, 0, 10222, 16356, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 9, 1, 'Replacement, quickly!', 14, 0, 100, 0, 0, 10223, 16357, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 9, 2, 'Next warrior, now!', 14, 0, 100, 0, 0, 10224, 16358, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 9, 3, 'Fall in! Mok-thora ka!', 14, 0, 100, 0, 0, 10225, 16359, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 9, 4, 'Where\'s my support?', 14, 0, 100, 0, 0, 10226, 16360, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 9, 5, 'Look Alive!', 14, 0, 100, 0, 0, 10227, 0, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 9, 6, 'Engage the enemy!', 14, 0, 100, 0, 0, 10228, 0, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 9, 7, 'Attack!', 14, 0, 100, 0, 0, 10229, 0, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 9, 8, 'Next warrior, step up!', 14, 0, 100, 0, 0, 10230, 16361, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 9, 9, 'Join the fight! Agrama-ka!', 14, 0, 100, 0, 0, 10231, 16362, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 10, 0, 'Wake up, we\'re under attack!', 14, 0, 100, 0, 0, 10232, 16363, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 10, 1, 'Sleep on your own time!', 14, 0, 100, 0, 0, 10233, 16364, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 10, 2, 'Get up!', 14, 0, 100, 0, 0, 10234, 16365, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 10, 3, 'On your feet!', 14, 0, 100, 0, 0, 10235, 16366, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 10, 4, 'No time for slumber! Join the fight!', 14, 0, 100, 0, 0, 10236, 16367, 0, 'Shattered Hand Legionnaire - Variation 3'), +(16700, 11, 0, 'We\'ll drink their blood and feast on their bones!', 12, 0, 100, 15, 0, 0, 12683, 0, 'Shattered Hand Legionnaire'), -- Causes Cheer +(16700, 12, 0, 'Serve the Fel Horde!', 12, 0, 100, 5, 0, 0, 12684, 0, 'Shattered Hand Legionnaire'), -- Causes Bow +(16700, 13, 0, 'Power to the Fel Horde!', 12, 0, 100, 5, 0, 0, 12685, 0, 'Shattered Hand Legionnaire'), +(16700, 13, 1, 'Break their bones!', 12, 0, 100, 5, 0, 0, 12686, 0, 'Shattered Hand Legionnaire'), +(16700, 14, 0, 'Know your master, you worthless mutts!', 12, 0, 100, 25, 0, 0, 12687, 0, 'Shattered Hand Legionnaire'), -- Causes Kneel +(16700, 15, 0, 'As if you weaklings pose any threat to us. We will devour you.', 12, 0, 100, 25, 0, 0, 12691, 0, 'Shattered Hand Legionnaire'), +(16700, 16, 0, 'We will destroy you.', 12, 0, 100, 25, 0, 0, 12692, 0, 'Shattered Hand Legionnaire'), +-- Shattered Hand Scout +(17693, 0, 0, 'Invaders have breached the defenses!', 14, 0, 100, 0, 0, 10285, 14309, 0, 'Shattered Hand Scout'); + +-- Shattered Hand Centurion +DELETE FROM `creature_text` WHERE `CreatureID` IN (17465) AND `GroupID` IN (0, 2); +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(17465, 0, 0, 'Fight!', 12, 0, 100, 25, 0, 0, 14134, 0, 'Shattered Hand Centurion'), +(17465, 2, 0, 'That\'s enough. Now back off!', 12, 0, 100, 0, 0, 0, 14135, 0, 'Shattered Hand Centurion'); + +DELETE FROM `waypoints` WHERE `entry` IN (1742000, 1742001, 1742002, 1742003, 1742004, 1670000, 1670001, 1708301, 1708302, 1708303, 1670002, 1670003, 1742005, 1670004, 1670005, 1670006, 1670007, 1670400, 1670401, 1669900, 1670008, 1670009, 1670010, 1670011, 1670012); +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `point_comment`) VALUES +-- @CGUID+0 +(1742000,1,67.89315 ,39.01408,-13.229578,NULL,'Shattered Halls Entrance Path 1'), +(1742000,2,64.01922,12.312322,-13.218981,NULL,'Shattered Halls Entrance Path 1'), +(1742000,3,46.6975,4.630538,-13.19063,NULL,'Shattered Halls Entrance Path 1'), +(1742000,4,33.76568,6.794648,-13.194232,NULL,'Shattered Halls Entrance Path 1'), +(1742000,5,22.778257,7.142359,-13.188942,NULL,'Shattered Halls Entrance Path 1'), +-- @CGUID+1 +(1742001,1,69.60132 ,39.09185,-13.229795,NULL,'Shattered Halls Entrance Path 2'), +(1742001,2,65.8643,14.480076,-13.217177,NULL,'Shattered Halls Entrance Path 2'), +(1742001,3,57.274395,7.420197,-13.215047,NULL,'Shattered Halls Entrance Path 2'), +(1742001,4,45.698727,6.426157,-13.190653,NULL,'Shattered Halls Entrance Path 2'), +-- @CGUID+2 +(1742002,1,70.861275 ,33.167652,-13.21322,NULL,'Shattered Halls Entrance Path 3'), +(1742002,2,63.098648,2.3879812,-13.195556,NULL,'Shattered Halls Entrance Path 3'), +(1742002,3,36.641575,-1.554714,-13.195765,NULL,'Shattered Halls Entrance Path 3'), +(1742002,4,25.258875,-4.476578,-13.188146,NULL,'Shattered Halls Entrance Path 3'), +(1742002,5,12.378354,-2.327011,-13.191283,NULL,'Shattered Halls Entrance Path 3'), +-- @CGUID+3 +(1742003,1,73.65649 ,52.423386,-13.222654,NULL,'Shattered Halls Entrance Path 4'), +(1742003,2,71.590904,37.800205,-13.226182,NULL,'Shattered Halls Entrance Path 4'), +(1742003,3,70.05679,10.57433,-13.220902,NULL,'Shattered Halls Entrance Path 4'), +(1742003,4,52.602608,-0.81406,-13.202705,NULL,'Shattered Halls Entrance Path 4'), +(1742003,5,37.00712,-1.507957,-13.195853,NULL,'Shattered Halls Entrance Path 4'), +-- @CGUID+4 +(1742004,1,73.461945 ,54.436386,-13.22266,NULL,'Shattered Halls Entrance Path 5'), +(1742004,2,70.86118,26.330286,-13.190962,NULL,'Shattered Halls Entrance Path 5'), +(1742004,3,69.04973,8.987739,-13.207696,NULL,'Shattered Halls Entrance Path 5'), +(1742004,4,62.98464,-0.321715,-13.1952095,NULL,'Shattered Halls Entrance Path 5'), +(1742004,5,57.8027,-0.197392,-13.206662,NULL,'Shattered Halls Entrance Path 5'), +-- @CGUID+5 +(1670000,1,55.643723,2.632497,-13.2085495,NULL,'Shattered Halls Entrance Legionnaire Path'), +(1670000,2,37.240017,1.647679,-13.19561,NULL,'Shattered Halls Entrance Legionnaire Path'), +(1670000,3,21.548931,1.672251,-13.188562,NULL,'Shattered Halls Entrance Legionnaire Path'), +(1670000,4,9.574065,1.843434,-13.191583,NULL,'Shattered Halls Entrance Legionnaire Path'), +(1670000,5,21.548931,1.672251,-13.188562,NULL,'Shattered Halls Entrance Legionnaire Path'), +(1670000,6,37.240017,1.647679,-13.19561,NULL,'Shattered Halls Entrance Legionnaire Path'), +-- @CGUID+10 +(1670001,1,56.966682,74.25795,-13.222891,NULL,'Shattered Halls Entrance Legionnaire Path 2'), +(1670001,2,64.00517,79.559944,-13.22254,NULL,'Shattered Halls Entrance Legionnaire Path 2'), +(1670001,3,73.133644,78.94907,-13.222672,NULL,'Shattered Halls Entrance Legionnaire Path 2'), +(1670001,4,80.202415,73.17268,-13.22248,NULL,'Shattered Halls Entrance Legionnaire Path 2'), +(1670001,5,73.133644,78.94907,-13.222672,NULL,'Shattered Halls Entrance Legionnaire Path 2'), +(1670001,6,64.00517,79.559944,-13.22254,NULL,'Shattered Halls Entrance Legionnaire Path 2'), +-- Legionnaire Add 1 +(1708301,1,72.19307,182.90622,-13.244803,NULL,'Fel Orc Convert Legionnaire Add Path 1'), +(1708301,2,69.36077,151.97517,-13.2360525,NULL,'Fel Orc Convert Legionnaire Add Path 1'), +(1708301,3,71.625595,126.86035,-13.195059,NULL,'Fel Orc Convert Legionnaire Add Path 1'), +(1708301,4,69.65978,92.944626,-13.221933,NULL,'Fel Orc Convert Legionnaire Add Path 1'), +-- Legionnaire Add 2 +(1708302,1,69.46393,207.24873,-13.203173,NULL,'Fel Orc Convert Legionnaire Add Path 2'), +(1708302,2,69.62443,171.31784,-13.2047,NULL,'Fel Orc Convert Legionnaire Add Path 2'), +(1708302,3,69.58252,147.60202,-13.231533,NULL,'Fel Orc Convert Legionnaire Add Path 2'), +(1708302,4,69.59017,139.92017,-13.2238035,NULL,'Fel Orc Convert Legionnaire Add Path 2'), +(1708302,5,69.04853,140.09366,-13.224273,NULL,'Fel Orc Convert Legionnaire Add Path 2'), +-- Legionnaire Add 3 +(1708303,1,70.08433,243.77461,-13.198016,NULL,'Fel Orc Convert Legionnaire Add Path 3'), +(1708303,2,69.59446,222.3963,-13.213997,NULL,'Fel Orc Convert Legionnaire Add Path 3'), +(1708303,3,69.81086,195.43225,-13.230811,NULL,'Fel Orc Convert Legionnaire Add Path 3'), +(1708303,4,69.74186,167.36273,-13.200679,NULL,'Fel Orc Convert Legionnaire Add Path 3'), +-- Legionnaire Gauntlet Leader 1 +(1670002,1,85.41615,150.316,-13.221173,NULL,'Shattered Halls Legionnaire Gauntlet Leader 1 - Decomposed'), +(1670002,2,80.19127,150.6295,-13.225728,NULL,'Shattered Halls Legionnaire Gauntlet Leader 1 - Decomposed'), +(1670002,3,71.02793,146.30322,-13.229441,NULL,'Shattered Halls Legionnaire Gauntlet Leader 1'), +(1670002,4,69.945755,137.83614,-13.2063465,NULL,'Shattered Halls Legionnaire Gauntlet Leader 1'), +(1670002,5,70.05969,130.191,-13.198575,NULL,'Shattered Halls Legionnaire Gauntlet Leader 1'), +-- Repeat +(1670003,1,70.11518,142.67537,-13.226289,NULL,'Shattered Halls Legionnaire Gauntlet Leader 1 - Repeat Path'), +(1670003,2,69.93477,128.13034,-13.196481,NULL,'Shattered Halls Legionnaire Gauntlet Leader 1 - Repeat Path'), +(1670003,3,70.11518,142.67537,-13.226289,NULL,'Shattered Halls Legionnaire Gauntlet Leader 1 - Repeat Path'), +(1670003,4,69.93477,128.13034,-13.196481,NULL,'Shattered Halls Legionnaire Gauntlet Leader 1 - Repeat Path'), +-- Legionnaire Gauntlet Member 1 +(1742005,1,96.9828,151.07903,-13.063042,NULL,'Shattered Halls Legionnaire Gauntlet Member 1 - Decomposed'), +(1742005,2,88.984535,150.3885,-13.146009,NULL,'Shattered Halls Legionnaire Gauntlet Member 1 - Decomposed'), +(1742005,3,73.52618,149.05394,-13.230848,NULL,'Shattered Halls Legionnaire Gauntlet Member 1'), +(1742005,4,72.90818,131.60164,-13.200008,NULL,'Shattered Halls Legionnaire Gauntlet Member 1'), +-- Legionnaire Gauntlet Leader 2 +(1670004,1,71.80546,182.78496,-13.244954,NULL,'Shattered Halls Legionnaire Gauntlet Leader 2'), +(1670004,2,69.46158,171.00041,-13.204378,NULL,'Shattered Halls Legionnaire Gauntlet Leader 2'), +(1670004,3,69.71826,164.11491,-13.197376,NULL,'Shattered Halls Legionnaire Gauntlet Leader 2'), +(1670004,4,70.14036,158.16167,-13.219431,NULL,'Shattered Halls Legionnaire Gauntlet Leader 2'), +-- Repeat +(1670005,1,69.834885,177.27766,-13.215765,NULL,'Shattered Halls Legionnaire Gauntlet Leader 2 - Repeat Path'), +(1670005,2,70.14036,158.16167,-13.219431,NULL,'Shattered Halls Legionnaire Gauntlet Leader 2 - Repeat Path'), +(1670005,3,69.834885,177.27766,-13.215765,NULL,'Shattered Halls Legionnaire Gauntlet Leader 2 - Repeat Path'), +(1670005,4,70.14036,158.16167,-13.219431,NULL,'Shattered Halls Legionnaire Gauntlet Leader 2 - Repeat Path'), +-- Legionnaire Gauntlet Leader 3 +(1670006,1,66.70524,210.72876,-13.206715,NULL,'Shattered Halls Legionnaire Gauntlet Leader 3'), +(1670006,2,67.4717,201.65619,-13.197479,NULL,'Shattered Halls Legionnaire Gauntlet Leader 3'), +(1670006,3,69.66244,195.64166,-13.230581,NULL,'Shattered Halls Legionnaire Gauntlet Leader 3'), +(1670006,4,79.708755,194.18694,-13.231843,NULL,'Shattered Halls Legionnaire Gauntlet Leader 3'), +-- Repeat +(1670007,1,61.958435,195.32573,-13.231223,NULL,'Shattered Halls Legionnaire Gauntlet Leader 3 - Repeat Path'), +(1670007,2,79.708755,194.18694,-13.231843,NULL,'Shattered Halls Legionnaire Gauntlet Leader 3 - Repeat Path'), +(1670007,3,61.958435,195.32573,-13.231223,NULL,'Shattered Halls Legionnaire Gauntlet Leader 3 - Repeat Path'), +(1670007,4,79.708755,194.18694,-13.231843,NULL,'Shattered Halls Legionnaire Gauntlet Leader 3 - Repeat Path'), +-- Legionnaire Gauntlet Member 2 +(1670400,1,74.694565,219.92151,-13.214061,NULL,'Shattered Halls Legionnaire Gauntlet Member 2 - Decomposed'), +(1670400,2,71.43161,216.94246,-13.229442,NULL,'Shattered Halls Legionnaire Gauntlet Member 2 - Decomposed'), +(1670400,3,63.087967,209.32477,-13.205284,NULL,'Shattered Halls Legionnaire Gauntlet Member 2'), +(1670400,4,63.84162,200.18079,-13.195976,NULL,'Shattered Halls Legionnaire Gauntlet Member 2'), +-- Legionnaire Gauntlet Member 3 +(1670401,1,82.75517,225.05904,-13.113562,NULL,'Shattered Halls Legionnaire Gauntlet Member 3 - Decomposed'), +(1670401,2,78.335075,222.29608,-13.201896,NULL,'Shattered Halls Legionnaire Gauntlet Member 3 - Decomposed'), +(1670401,3,69.99741,217.0843,-13.228961,NULL,'Shattered Halls Legionnaire Gauntlet Member 3'), +(1670401,4,69.67751,203.89116,-13.199755,NULL,'Shattered Halls Legionnaire Gauntlet Member 3'), +-- Legionnaire Gauntlet Member 4 +(1669900,1,56.865456,225.09496,-13.114193,NULL,'Shattered Halls Legionnaire Gauntlet Member 4 - Decomposed'), +(1669900,2,74.70813,216.94246,-13.2296295,NULL,'Shattered Halls Legionnaire Gauntlet Member 4 - Decomposed'), +(1669900,3,75.63649,216.51828,-13.22187,NULL,'Shattered Halls Legionnaire Gauntlet Member 4'), +(1669900,4,73.530624,203.36192,-13.199218,NULL,'Shattered Halls Legionnaire Gauntlet Member 4'), +-- Barracks Legionnaire +(1670008,1,76.421555,261.56696,-13.203058,NULL,'Shattered Halls Legionnaire Barracks Path 1'), +(1670008,2,66.63585,268.7488,-13.200854,NULL,'Shattered Halls Legionnaire Barracks Path 1'), +(1670008,3,76.421555,261.56696,-13.203058,NULL,'Shattered Halls Legionnaire Barracks Path 1'), +(1670008,4,66.63585,268.7488,-13.200854,NULL,'Shattered Halls Legionnaire Barracks Path 1'), +(1670008,5,69.713936,263.39304,-13.201049,NULL,'Shattered Halls Legionnaire Barracks Path 1'), +(1670009,1,77.156654,257.29916,-13.202623,NULL,'Shattered Halls Legionnaire Barracks Path 2'), +(1670009,2,86.677475,258.9731,-13.206164,NULL,'Shattered Halls Legionnaire Barracks Path 2'), +(1670009,3,90.03374,267.7625,-13.208733,NULL,'Shattered Halls Legionnaire Barracks Path 2'), +(1670009,4,80.56659,275.73517,-13.206765,NULL,'Shattered Halls Legionnaire Barracks Path 2'), +(1670009,5,70.84464,280.1304,-13.204133,NULL,'Shattered Halls Legionnaire Barracks Path 2'), +(1670009,6,63.218967,278.31616,-13.192625,NULL,'Shattered Halls Legionnaire Barracks Path 2'), +(1670009,7,61.75474,269.22348,-13.199254,NULL,'Shattered Halls Legionnaire Barracks Path 2'), +(1670009,8,69.713936,263.39304,-13.201049,NULL,'Shattered Halls Legionnaire Barracks Path 2'), +(1670010,1,63.464737,269.65533,-13.19991,NULL,'Shattered Halls Legionnaire Barracks Path 3'), +(1670010,2,64.41525,277.1848,-13.20145,NULL,'Shattered Halls Legionnaire Barracks Path 3'), +(1670010,3,72.19377,278.96936,-13.20441,NULL,'Shattered Halls Legionnaire Barracks Path 3'), +(1670010,4,80.11674,274.18732,-13.206361,NULL,'Shattered Halls Legionnaire Barracks Path 3'), +(1670010,5,88.38716,265.49927,-13.207803,NULL,'Shattered Halls Legionnaire Barracks Path 3'), +(1670010,6,84.63591,258.43936,-13.205377,NULL,'Shattered Halls Legionnaire Barracks Path 3'), +(1670010,7,76.947754,257.96246,-13.202659,NULL,'Shattered Halls Legionnaire Barracks Path 3'), +(1670010,8,84.63591,258.43936,-13.205377,NULL,'Shattered Halls Legionnaire Barracks Path 3'), +(1670010,9,88.38716,265.49927,-13.207803,NULL,'Shattered Halls Legionnaire Barracks Path 3'), +(1670010,10,80.11674,274.18732,-13.206361,NULL,'Shattered Halls Legionnaire Barracks Path 3'), +(1670010,11,69.713936,263.39304,-13.201049,NULL,'Shattered Halls Legionnaire Barracks Path 3'), +-- Sparring Hall +(1670011,1,528.1561,228.07251,1.9335356,NULL,'Shattered Halls Legionnaire Sparring Hall Path 1'), +(1670011,2,521.939,226.18733,1.9384854,NULL,'Shattered Halls Legionnaire Sparring Hall Path 1'), +(1670011,3,519.15515,222.23543,1.9348023,NULL,'Shattered Halls Legionnaire Sparring Hall Path 1'), +(1670011,4,521.939,226.18733,1.9384854,NULL,'Shattered Halls Legionnaire Sparring Hall Path 1'), +(1670012,1,511.35275,162.06738,1.9312072,NULL,'Shattered Halls Legionnaire Sparring Hall Path 2'), +(1670012,2,522.757,158.84065,1.9294991,NULL,'Shattered Halls Legionnaire Sparring Hall Path 2'), +(1670012,3,511.35275,162.06738,1.9312072,NULL,'Shattered Halls Legionnaire Sparring Hall Path 2'), +(1670012,4,522.757,158.84065,1.9294991,NULL,'Shattered Halls Legionnaire Sparring Hall Path 2'); + +UPDATE `creature_template` SET `flags_extra` = `flags_extra`|67108864 WHERE (`entry` IN (16700, 16699, 16704, 17420, 16507, 17694, 16523, 16594, 16593, 20593, 20591, 20582, 20576, 20590, 20589, 20594, 20587, 20577, 17464, 20586)); + +DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN (-(@CGUID+0),-(@CGUID+1),-(@CGUID+2),-(@CGUID+3),-(@CGUID+4),-(@CGUID+5),-(@CGUID+10),-(@CGUID+11),-(@CGUID+12),-(@CGUID+13),-(@CGUID+14),-(@CGUID+15),-(@CGUID+16),-(@CGUID+17),-(@CGUID+18),-(@CGUID+8),-(@CGUID+9),-(@CGUID+19), -(@CGUID+20), -(@CGUID+21),-(@CGUID+22),-(@CGUID+23),-(@CGUID+24),-(@CGUID+25),-(@CGUID+26),-(@CGUID+27),-(@CGUID+28),-(@CGUID+29),-(@CGUID+30),-(@CGUID+31),-(@CGUID+32),-(@CGUID+33),-(@CGUID+34),-(@CGUID+35),-(@CGUID+36),-(@CGUID+37),-(@CGUID+38),-(@CGUID+39),-(@CGUID+40),-(@CGUID+41),-(@CGUID+42),-(@CGUID+43),-(@CGUID+44),-(@CGUID+45),-(@CGUID+163),-(@CGUID+165),-(@CGUID+167),-(@CGUID+169),-(@CGUID+171),-(@CGUID+173),-(@CGUID+131),-(@CGUID+137),-(@CGUID+144),-(@CGUID+145),-(@CGUID+146),-(@CGUID+147),-(@CGUID+149),-(@CGUID+150),-(@CGUID+151),-(@CGUID+152),-(@CGUID+155),-(@CGUID+157),-(@CGUID+156),-(@CGUID+154),-(@CGUID+159),-(@CGUID+160),-(@CGUID+162),-(@CGUID+161)); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(-(@CGUID+0), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1742000, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Respawn - Start Waypoint'), +(-(@CGUID+0), 0, 1002, 0, 58, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1742000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Waypoint Finished - Run Script'), +(-(@CGUID+0), 0, 1003, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1670003, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 1 1 - Run Script'), +(-(@CGUID+1), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1742001, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Respawn - Start Waypoint'), +(-(@CGUID+1), 0, 1002, 0, 58, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1742000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Waypoint Finished - Run Script'), +(-(@CGUID+1), 0, 1003, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1670003, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 1 1 - Run Script'), +(-(@CGUID+2), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1742002, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Respawn - Start Waypoint'), +(-(@CGUID+2), 0, 1002, 0, 58, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1742000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Waypoint Finished - Run Script'), +(-(@CGUID+2), 0, 1003, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1670003, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 1 1 - Run Script'), +(-(@CGUID+3), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1742003, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Respawn - Start Waypoint'), +(-(@CGUID+3), 0, 1002, 0, 58, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1742000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Waypoint Finished - Run Script'), +(-(@CGUID+3), 0, 1003, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1670003, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 1 1 - Run Script'), +(-(@CGUID+4), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1742004, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Respawn - Start Waypoint'), +(-(@CGUID+4), 0, 1002, 0, 58, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1742000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Waypoint Finished - Run Script'), +(-(@CGUID+4), 0, 1003, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1670003, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 1 1 - Run Script'), +(-(@CGUID+5), 0, 1001, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1670000, 1, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reset - Start Waypoint'), +(-(@CGUID+5), 0, 1002, 0, 40, 0, 15, 0, 0, 1670000, 0, 0, 0, 87, 1670000, 1670001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Any Point Reached - Run Random Script'), +(-(@CGUID+5), 0, 1003, 0, 34, 0, 100, 0, 8, 1, 0, 0, 0, 80, 1670002, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reached Point 1 - Run Script'), +(-(@CGUID+5), 0, 1004, 0, 7, 0, 100, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Evade - Reset All Scripts'), +-- Entrance Hall Legionnaire +(-(@CGUID+10), 0, 1001, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1670001, 1, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reset - Start Waypoint'), +(-(@CGUID+10), 0, 1002, 0, 40, 0, 40, 0, 0, 1670001, 0, 0, 0, 87, 1670004, 1670006, 1670006, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Any Point Reached - Run Random Script'), +(-(@CGUID+10), 0, 1003, 0, 34, 0, 100, 0, 8, 3, 0, 0, 0, 87, 1670007, 1670008, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reached Group - Run Random Script'), +(-(@CGUID+10), 0, 1004, 0, 7, 0, 100, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Evade - Reset All Scripts'), +(-(@CGUID+10), 0, 1005, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reset - Set Event Phase 1 (Allow Add to Spawn)'), +(-(@CGUID+10), 0, 1006, 0, 82, 0, 100, 0, 17083, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Summoned Add Dies - Set Event Phase 1 (Allow Add to Spawn)'), +(-(@CGUID+10), 0, 1007, 1008, 38, 1, 100, 0, 1, 1, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Data Set 1 1 - Say Line 3 (Phase 1)'), +(-(@CGUID+10), 0, 1008, 1009, 61, 1, 100, 0, 0, 0, 0, 0, 0, 12, 17083, 4, 300000, 0, 0, 0, 8, 0, 0, 0, 0, 79.99492, 111.56079, -13.138484, 4.6949357986450195, 'Shattered Hand Legionnaire - On Data Set 1 1 - Summon Creature \'Fel Orc Convert\' (Phase 1)'), +(-(@CGUID+10), 0, 1009, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Data Set 1 1 - Set Event Phase 2 (Do Not Allow Adds to Spawn)'), +(-(@CGUID+11), 0, 1000, 0, 38, 0, 100, 0, 2, 1, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 1 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+11), 0, 1001, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 2 - Play Emote 2 (OneShotBow)'), +(-(@CGUID+11), 0, 1002, 0, 38, 0, 100, 0, 2, 3, 0, 0, 0, 80, 1670009, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 3 - Run Script'), +(-(@CGUID+11), 0, 1003, 0, 38, 0, 100, 0, 2, 4, 0, 0, 0, 80, 1670010, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 4 - Run Script'), +(-(@CGUID+12), 0, 1000, 0, 38, 0, 100, 0, 2, 1, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 1 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+12), 0, 1001, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 2 - Play Emote 2 (OneShotBow)'), +(-(@CGUID+12), 0, 1002, 0, 38, 0, 100, 0, 2, 3, 0, 0, 0, 80, 1670009, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 3 - Run Script'), +(-(@CGUID+12), 0, 1003, 0, 38, 0, 100, 0, 2, 4, 0, 0, 0, 80, 1670010, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 4 - Run Script'), +(-(@CGUID+13), 0, 1000, 0, 38, 0, 100, 0, 2, 1, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 1 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+13), 0, 1001, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 2 - Play Emote 2 (OneShotBow)'), +(-(@CGUID+13), 0, 1002, 0, 38, 0, 100, 0, 2, 3, 0, 0, 0, 80, 1670009, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 3 - Run Script'), +(-(@CGUID+13), 0, 1003, 0, 38, 0, 100, 0, 2, 4, 0, 0, 0, 80, 1670010, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 4 - Run Script'), +(-(@CGUID+14), 0, 1000, 0, 38, 0, 100, 0, 2, 1, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 1 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+14), 0, 1001, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 2 - Play Emote 2 (OneShotBow)'), +(-(@CGUID+14), 0, 1002, 0, 38, 0, 100, 0, 2, 3, 0, 0, 0, 80, 1670009, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 3 - Run Script'), +(-(@CGUID+14), 0, 1003, 0, 38, 0, 100, 0, 2, 4, 0, 0, 0, 80, 1670010, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 4 - Run Script'), +(-(@CGUID+15), 0, 1000, 0, 38, 0, 100, 0, 2, 1, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 1 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+15), 0, 1001, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 2 - Play Emote 2 (OneShotBow)'), +(-(@CGUID+15), 0, 1002, 0, 38, 0, 100, 0, 2, 3, 0, 0, 0, 80, 1670009, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 3 - Run Script'), +(-(@CGUID+15), 0, 1003, 0, 38, 0, 100, 0, 2, 4, 0, 0, 0, 80, 1670010, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 4 - Run Script'), +(-(@CGUID+16), 0, 1000, 0, 38, 0, 100, 0, 2, 1, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 1 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+16), 0, 1001, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 2 - Play Emote 2 (OneShotBow)'), +(-(@CGUID+16), 0, 1002, 0, 38, 0, 100, 0, 2, 3, 0, 0, 0, 80, 1670009, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 3 - Run Script'), +(-(@CGUID+16), 0, 1003, 0, 38, 0, 100, 0, 2, 4, 0, 0, 0, 80, 1670010, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 4 - Run Script'), +(-(@CGUID+17), 0, 1000, 0, 38, 0, 100, 0, 2, 1, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 1 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+17), 0, 1001, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 2 - Play Emote 2 (OneShotBow)'), +(-(@CGUID+17), 0, 1002, 0, 38, 0, 100, 0, 2, 3, 0, 0, 0, 80, 1670009, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 3 - Run Script'), +(-(@CGUID+17), 0, 1003, 0, 38, 0, 100, 0, 2, 4, 0, 0, 0, 80, 1670010, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 4 - Run Script'), +(-(@CGUID+18), 0, 1000, 0, 38, 0, 100, 0, 2, 1, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 1 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+18), 0, 1001, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 2 - Play Emote 2 (OneShotBow)'), +(-(@CGUID+18), 0, 1002, 0, 38, 0, 100, 0, 2, 3, 0, 0, 0, 80, 1670009, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 3 - Run Script'), +(-(@CGUID+18), 0, 1003, 0, 38, 0, 100, 0, 2, 4, 0, 0, 0, 80, 1670010, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - On Data Set 2 4 - Run Script'), +-- Sentries Start Group 1 of Legionnaire Gauntlet +(-(@CGUID+8), 0, 1000, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 63, 1, 1, 0, 0, 0, 0, 10, 151019, 16700, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sentry - On Just Died - Set Counter to Start Legionnaire Gauntlet Group 1'), +(-(@CGUID+9), 0, 1000, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 63, 1, 1, 0, 0, 0, 0, 10, 151019, 16700, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sentry - On Just Died - Set Counter to Start Legionnaire Gauntlet Group 1'), +-- Legionnaire Gauntlet Group 1 +(-(@CGUID+19), 0, 1001, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reset - Set Event Phase 1 (Allow Add to Spawn)'), +(-(@CGUID+19), 0, 1002, 0, 82, 0, 100, 0, 17083, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Summoned Add Dies - Set Event Phase 1 (Allow Add to Spawn)'), +(-(@CGUID+19), 0, 1003, 1004, 38, 1, 100, 0, 1, 1, 0, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Data Set 1 1 - Say Line 6 (Phase 1)'), +(-(@CGUID+19), 0, 1004, 1005, 61, 1, 100, 0, 0, 0, 0, 0, 0, 12, 17083, 4, 300000, 0, 0, 0, 8, 0, 0, 0, 0, 89.46494, 187.33412, -13.145542, 3.39255523681640625, 'Shattered Hand Legionnaire - On Data Set 1 1 - Summon Creature \'Fel Orc Convert\' (Phase 1)'), +(-(@CGUID+19), 0, 1005, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Data Set 1 1 - Set Event Phase 2 (Do Not Allow Adds to Spawn)'), +(-(@CGUID+19), 0, 1006, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Respawn - Run Script'), +(-(@CGUID+19), 0, 1007, 1008, 77, 0, 100, 0, 1, 2, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 2/2 - Run Script'), +(-(@CGUID+19), 0, 1008, 1009, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 3, 1, 0, 0, 0, 0, 9, 0, 0, 60, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Linked - Set Data 3 1 to Start Group 1 Spawn'), +(-(@CGUID+19), 0, 1009, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1670002, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Linked - Start Waypoint'), +(-(@CGUID+19), 0, 1010, 0, 40, 0, 100, 0, 1, 1670002, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reached Point 1 - Say Line 5'), +(-(@CGUID+19), 0, 1011, 0, 40, 0, 100, 0, 7, 1670002, 0, 0, 0, 80, 1670013, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Waypoint Finished - Run Script'), +(-(@CGUID+20), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Respawn - Run Script'), +(-(@CGUID+20), 0, 1002, 1003, 38, 0, 100, 0, 3, 1, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Data Set 3 1 - Run Script'), +(-(@CGUID+20), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 75.38901, 128.20035, -13.19655, 0, 'Shattered Hand Reaver - On Data Set 3 1 - Move To Position'), +(-(@CGUID+20), 0, 1004, 0, 34, 0, 100, 0, 8, 1, 0, 0, 0, 80, 1669900, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Reached Point 1 - Run Script'), +(-(@CGUID+21), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Respawn - Run Script'), +(-(@CGUID+21), 0, 1002, 1003, 38, 0, 100, 0, 3, 1, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Data Set 3 1 - Run Script'), +(-(@CGUID+21), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 66.798805, 133.15752, -13.2015915, 0, 'Shattered Hand Sharpshooter - On Data Set 3 1 - Move To Position'), +(-(@CGUID+21), 0, 1004, 1005, 34, 0, 100, 0, 8, 1, 0, 0, 0, 80, 1670400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Reached Point 1 - Run Script'), +(-(@CGUID+21), 0, 1005, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 4.6949357986450195, 'Shattered Hand Sharpshooter - Linked - Set Orientation 4.6949357986450195'), +(-(@CGUID+22), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Heathen - On Respawn - Run Script'), +(-(@CGUID+22), 0, 1002, 1003, 38, 0, 100, 0, 3, 1, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Heathen - On Data Set 3 1 - Run Script'), +(-(@CGUID+22), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1742005, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Heathen - On Data Set 3 1 - Start Path'), +(-(@CGUID+22), 0, 1004, 0, 40, 0, 100, 0, 4, 1742005, 0, 0, 0, 80, 1742001, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Heathen - On Finished Path - Run Script'), +(-(@CGUID+23), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - On Respawn - Run Script'), +(-(@CGUID+23), 0, 1002, 1003, 38, 0, 100, 0, 3, 1, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - On Data Set 3 1 - Run Script'), +(-(@CGUID+23), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 64.30508, 126.67573, -13.19529, 5.044001579284668, 'Shadowmoon Darkcaster - On Data Set 3 1 - Move To Position'), +(-(@CGUID+23), 0, 1004, 0, 34, 0, 100, 0, 8, 1, 0, 0, 0, 80, 1769400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - On Reached Point 1 - Run Script'), +-- Legionnaire Gauntlet Group 2 +(-(@CGUID+24), 0, 1001, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reset - Set Event Phase 1 (Allow Add to Spawn)'), +(-(@CGUID+24), 0, 1002, 0, 82, 0, 100, 0, 17083, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Summoned Add Dies - Set Event Phase 1 (Allow Add to Spawn)'), +(-(@CGUID+24), 0, 1003, 1004, 38, 1, 100, 0, 1, 1, 0, 0, 0, 1, 9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Data Set 1 1 - Say Line 9 (Phase 1)'), +(-(@CGUID+24), 0, 1004, 1005, 61, 1, 100, 0, 0, 0, 0, 0, 0, 12, 17083, 4, 300000, 0, 0, 0, 8, 0, 0, 0, 0, 79.79241, 218.84029, -13.150554, 3.984550714492797851, 'Shattered Hand Legionnaire - On Data Set 1 1 - Summon Creature \'Fel Orc Convert\' (Phase 1)'), +(-(@CGUID+24), 0, 1005, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Data Set 1 1 - Set Event Phase 2 (Do Not Allow Adds to Spawn)'), +(-(@CGUID+24), 0, 1006, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Respawn - Run Script'), +(-(@CGUID+24), 0, 1007, 1008, 38, 0, 100, 0, 3, 2, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Data Set 3 2 - Run Script'), +(-(@CGUID+24), 0, 1008, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1670004, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Linked - Start Waypoint'), +(-(@CGUID+24), 0, 1009, 0, 40, 0, 100, 0, 1, 1670004, 0, 0, 0, 1, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reached Point 1 - Say Line 8'), +(-(@CGUID+24), 0, 1010, 0, 40, 0, 100, 0, 4, 1670004, 0, 0, 0, 80, 1670014, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Waypoint Finished - Run Script'), +(-(@CGUID+25), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Respawn - Run Script'), +(-(@CGUID+25), 0, 1002, 1003, 38, 0, 100, 0, 3, 2, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Data Set 3 2 - Run Script'), +(-(@CGUID+25), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 66.03581, 167.7274, -13.20105, 0, 'Shattered Hand Reaver - On Data Set 3 2 - Move To Position'), +(-(@CGUID+25), 0, 1004, 1005, 34, 0, 100, 0, 8, 1, 0, 0, 0, 80, 1669900, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Reached Point 1 - Run Script'), +(-(@CGUID+25), 0, 1005, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 5.270894527435302734, 'Hack: Shattered Hand Reaver - Linked - Set Orientation 5.270894527435302734'), +(-(@CGUID+26), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Respawn - Run Script'), +(-(@CGUID+26), 0, 1002, 1003, 38, 0, 100, 0, 3, 2, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Data Set 3 2 - Run Script'), +(-(@CGUID+26), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 75.93612, 163.10774, -13.198574, 0, 'Shattered Hand Sharpshooter - On Data Set 3 2 - Move To Position'), +(-(@CGUID+26), 0, 1004, 1005, 34, 0, 100, 0, 8, 1, 0, 0, 0, 80, 1670400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Reached Point 1 - Run Script'), +(-(@CGUID+26), 0, 1005, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 4.555309295654296875, 'Shattered Hand Sharpshooter - Linked - Set Orientation 4.555309295654296875'), +(-(@CGUID+27), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Respawn - Run Script'), +(-(@CGUID+27), 0, 1002, 1003, 38, 0, 100, 0, 3, 2, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Data Set 3 2 - Run Script'), +(-(@CGUID+27), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 63.555927, 163.12886, -13.198391, 0, 'Shattered Hand Sharpshooter - On Data Set 3 2 - Move To Position'), +(-(@CGUID+27), 0, 1004, 1005, 34, 0, 100, 0, 8, 1, 0, 0, 0, 80, 1670400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Reached Point 1 - Run Script'), +(-(@CGUID+27), 0, 1005, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 5.06145477294921875, 'Shattered Hand Sharpshooter - Linked - Set Orientation 5.06145477294921875'), +(-(@CGUID+28), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - On Respawn - Run Script'), +(-(@CGUID+28), 0, 1002, 1003, 38, 0, 100, 0, 3, 2, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - On Data Set 3 2 - Run Script'), +(-(@CGUID+28), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 72.62996, 168.92274, -13.202265, 0, 'Shadowmoon Darkcaster - On Data Set 3 2 - Move To Position'), +(-(@CGUID+28), 0, 1004, 0, 34, 0, 100, 0, 8, 1, 0, 0, 0, 80, 1769401, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - On Reached Point 1 - Run Script'), +-- Legionnaire Gauntlet Group 3 +(-(@CGUID+29), 0, 1001, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reset - Set Event Phase 1 (Allow Add to Spawn)'), +(-(@CGUID+29), 0, 1002, 0, 82, 0, 100, 0, 17083, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Summoned Add Dies - Set Event Phase 1 (Allow Add to Spawn)'), +(-(@CGUID+29), 0, 1003, 1004, 38, 1, 100, 0, 1, 1, 0, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Data Set 1 1 - Say Line 3 (Phase 1)'), +(-(@CGUID+29), 0, 1004, 1005, 61, 1, 100, 0, 0, 0, 0, 0, 0, 12, 17083, 4, 300000, 0, 0, 0, 8, 0, 0, 0, 0, 83.530716, 250.53445, -13.113142, 3.607418537139892578, 'Shattered Hand Legionnaire - On Data Set 1 1 - Summon Creature \'Fel Orc Convert\' (Phase 1)'), +(-(@CGUID+29), 0, 1005, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Data Set 1 1 - Set Event Phase 2 (Do Not Allow Adds to Spawn)'), +(-(@CGUID+29), 0, 1006, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Respawn - Run Script'), +(-(@CGUID+29), 0, 1007, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 121, 100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Respawn - Set Sight Range to 100y'), +(-(@CGUID+29), 0, 1008, 1009, 10, 0, 100, 267, 0, 90, 0, 0, 1, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Within 0-90 Range Out of Combat LoS - Run Script'), +(-(@CGUID+29), 0, 1009, 1010, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 3, 2, 0, 0, 0, 0, 9, 0, 0, 90, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Linked - Set Data 3 2 to Start Group 2 & 3 Spawns'), +(-(@CGUID+29), 0, 1010, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1670006, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Linked - Start Waypoint'), +(-(@CGUID+29), 0, 1011, 0, 40, 0, 100, 0, 4, 1670006, 0, 0, 0, 53, 0, 1670007, 1, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Waypoint Finished - Start Waypoint'), +(-(@CGUID+30), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Respawn - Run Script'), +(-(@CGUID+30), 0, 1002, 1003, 38, 0, 100, 0, 3, 2, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Data Set 3 2 - Run Script'), +(-(@CGUID+30), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 66.13381, 203.3565, -13.199209, 0, 'Shattered Hand Reaver - On Data Set 3 2 - Move To Position'), +(-(@CGUID+30), 0, 1004, 0, 34, 0, 100, 0, 8, 1, 0, 0, 0, 80, 1669900, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Reached Point 1 - Run Script'), +(-(@CGUID+31), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Respawn - Run Script'), +(-(@CGUID+31), 0, 1002, 1003, 38, 0, 100, 0, 3, 2, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Data Set 3 2 - Run Script'), +(-(@CGUID+31), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1669900, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Data Set 3 2 - Start Path'), +(-(@CGUID+31), 0, 1004, 0, 40, 0, 100, 0, 4, 1669900, 0, 0, 0, 80, 1669900, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Finished Path - Run Script'), +(-(@CGUID+32), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Respawn - Run Script'), +(-(@CGUID+32), 0, 1002, 1003, 38, 0, 100, 0, 3, 2, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Data Set 3 2 - Run Script'), +(-(@CGUID+32), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1670400, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Data Set 3 2 - Start Path'), +(-(@CGUID+32), 0, 1004, 1005, 40, 0, 100, 0, 4, 1670400, 0, 0, 0, 80, 1670400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Finished Path - Run Script'), +(-(@CGUID+32), 0, 1005, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 5.270894527435302734, 'Shattered Hand Sharpshooter - Linked - Set Orientation 5.270894527435302734'), +(-(@CGUID+33), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Respawn - Run Script'), +(-(@CGUID+33), 0, 1002, 1003, 38, 0, 100, 0, 3, 2, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Data Set 3 2 - Run Script'), +(-(@CGUID+33), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1670401, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Data Set 3 2 - Start Path'), +(-(@CGUID+33), 0, 1004, 1005, 40, 0, 100, 0, 4, 1670401, 0, 0, 0, 80, 1670400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Finished Path - Run Script'), +(-(@CGUID+33), 0, 1005, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 4.86946868896484375, 'Shattered Hand Sharpshooter - Linked - Set Orientation 4.86946868896484375'), +(-(@CGUID+34), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670011, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Respawn - Run Script'), +(-(@CGUID+34), 0, 1002, 1003, 38, 0, 100, 0, 3, 2, 0, 0, 0, 80, 1670012, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Data Set 3 2 - Run Script'), +(-(@CGUID+34), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 75.6599, 200.369, -13.1962, 0, 'Shattered Hand Sharpshooter - On Data Set 3 2 - Move To Position'), +(-(@CGUID+34), 0, 1004, 1005, 34, 0, 100, 0, 8, 1, 0, 0, 0, 80, 1670400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Reached Point 1 - Run Script'), +(-(@CGUID+34), 0, 1005, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 4.2586, 'Shattered Hand Sharpshooter - Linked - Set Orientation 4.258603572845458984'), +-- Barracks & Hammocks Legionnaire +(-(@CGUID+35), 0, 1001, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 88, 1670015, 1670019, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reset - Start Random Script'), +(-(@CGUID+35), 0, 1002, 1004, 58, 0, 100, 0, 0, 0, 0, 0, 0, 88, 1670015, 1670019, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Waypoint Finished - Start Random Script'), +(-(@CGUID+35), 0, 1003, 1004, 34, 0, 100, 0, 8, 1, 0, 0, 0, 88, 1670015, 1670019, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reached Point 1 - Run Random Script'), +(-(@CGUID+35), 0, 1004, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Linked - Set Event Phase 0'), +(-(@CGUID+35), 0, 1005, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Aggro - Set Run On'), +(-(@CGUID+35), 0, 1006, 0, 1, 1, 100, 0, 6000, 6000, 6000, 6000, 0, 88, 1670020, 1670022, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Out of Combat, During Waypoints - Run Random Emote Script (Phase 1)'), +(-(@CGUID+35), 0, 1007, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 63, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Data Set 1 1 - Add 1 to Counter'), +(-(@CGUID+35), 0, 1008, 1012, 77, 0, 100, 0, 1, 1, 0, 0, 0, 45, 4, 1, 0, 0, 0, 0, 10, @CGUID+44, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 1/4 - Set Data 4 1'), +(-(@CGUID+35), 0, 1009, 1012, 77, 0, 100, 0, 1, 2, 0, 0, 0, 45, 4, 1, 0, 0, 0, 0, 10, @CGUID+42, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 2/4 - Set Data 4 1'), +(-(@CGUID+35), 0, 1010, 1012, 77, 0, 100, 0, 1, 3, 0, 0, 0, 45, 4, 1, 0, 0, 0, 0, 10, @CGUID+45, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 3/4 - Set Data 4 1'), +(-(@CGUID+35), 0, 1011, 1012, 77, 0, 100, 0, 1, 4, 0, 0, 0, 45, 4, 1, 0, 0, 0, 0, 10, @CGUID+43, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 4/4 - Set Data 4 1'), +(-(@CGUID+35), 0, 1012, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Add Awoken - Say Line 10'), +-- Barracks & Hammocks Members +(-(@CGUID+36), 0, 0, 0, 0, 0, 100, 0, 1500, 3000, 10000, 15000, 0, 11, 30478, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - In Combat - Cast \'Hemorrhage\''), +(-(@CGUID+36), 0, 1, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 16700, 20, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Just Died - Set Data 1 1'), +(-(@CGUID+36), 0, 2, 0, 38, 0, 100, 0, 4, 2, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Data Set 4 2 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+36), 0, 3, 0, 38, 0, 100, 0, 4, 3, 0, 0, 0, 5, 153, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Data Set 4 3 - Play Emote 153 (OneShotLaughNoSheathe)'), +(-(@CGUID+36), 0, 4, 0, 38, 0, 100, 0, 4, 4, 0, 0, 0, 5, 113, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Data Set 4 4 - Play Emote 113 (OneShotSaluteNoSheath)'), +(-(@CGUID+37), 0, 1001, 0, 38, 0, 100, 0, 4, 2, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Savage - On Data Set 4 2 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+37), 0, 1002, 0, 38, 0, 100, 0, 4, 3, 0, 0, 0, 5, 153, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Savage - On Data Set 4 3 - Play Emote 153 (OneShotLaughNoSheathe)'), +(-(@CGUID+37), 0, 1003, 0, 38, 0, 100, 0, 4, 4, 0, 0, 0, 5, 113, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Savage - On Data Set 4 4 - Play Emote 113 (OneShotSaluteNoSheath)'), +(-(@CGUID+38), 0, 0, 0, 0, 0, 100, 0, 1500, 3000, 10000, 15000, 0, 11, 30478, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - In Combat - Cast \'Hemorrhage\''), +(-(@CGUID+38), 0, 1, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 16700, 20, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Just Died - Set Data 1 1'), +(-(@CGUID+38), 0, 2, 0, 38, 0, 100, 0, 4, 2, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Data Set 4 2 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+38), 0, 3, 0, 38, 0, 100, 0, 4, 3, 0, 0, 0, 5, 153, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Data Set 4 3 - Play Emote 153 (OneShotLaughNoSheathe)'), +(-(@CGUID+38), 0, 4, 0, 38, 0, 100, 0, 4, 4, 0, 0, 0, 5, 113, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Data Set 4 4 - Play Emote 113 (OneShotSaluteNoSheath)'), +(-(@CGUID+39), 0, 1001, 0, 38, 0, 100, 0, 4, 2, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - On Data Set 4 2 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+39), 0, 1002, 0, 38, 0, 100, 0, 4, 3, 0, 0, 0, 5, 153, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - On Data Set 4 3 - Play Emote 153 (OneShotLaughNoSheathe)'), +(-(@CGUID+39), 0, 1003, 0, 38, 0, 100, 0, 4, 4, 0, 0, 0, 5, 113, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - On Data Set 4 4 - Play Emote 113 (OneShotSaluteNoSheath)'), +(-(@CGUID+40), 0, 1001, 0, 38, 0, 100, 0, 4, 2, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Data Set 4 2 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+40), 0, 1002, 0, 38, 0, 100, 0, 4, 3, 0, 0, 0, 5, 153, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Data Set 4 3 - Play Emote 153 (OneShotLaughNoSheathe)'), +(-(@CGUID+40), 0, 1003, 0, 38, 0, 100, 0, 4, 4, 0, 0, 0, 5, 113, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Data Set 4 4 - Play Emote 113 (OneShotSaluteNoSheath)'), +(-(@CGUID+41), 0, 1001, 0, 38, 0, 100, 0, 4, 2, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - On Data Set 4 2 - Play Emote 71 (OneShotCheerNoSheathe)'), +(-(@CGUID+41), 0, 1002, 0, 38, 0, 100, 0, 4, 3, 0, 0, 0, 5, 153, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - On Data Set 4 3 - Play Emote 153 (OneShotLaughNoSheathe)'), +(-(@CGUID+41), 0, 1003, 0, 38, 0, 100, 0, 4, 4, 0, 0, 0, 5, 113, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - On Data Set 4 4 - Play Emote 113 (OneShotSaluteNoSheath)'), +-- Sleeping Orcs +(-(@CGUID+42), 0, 1001, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670023, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Reset - Run Reset Script'), +(-(@CGUID+42), 0, 1002, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670024, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Aggro - Run Aggro Script'), +(-(@CGUID+42), 0, 1003, 1004, 38, 1, 100, 0, 4, 1, 0, 0, 0, 80, 1670024, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Data Set 4 1 - Run Aggro Script AND Move to Pos'), +(-(@CGUID+42), 0, 1004, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 69.452446, 239.98776, -13.193644, 0, 'Shattered Hand Brawler - Linked - Move To Position'), +(-(@CGUID+42), 0, 1005, 0, 34, 0, 100, 0, 8, 1, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Reached Point - Set In Combat With Zone'), +(-(@CGUID+43), 0, 1001, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670023, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Reset - Run Reset Script'), +(-(@CGUID+43), 0, 1002, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670024, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Aggro - Run Aggro Script'), +(-(@CGUID+43), 0, 1003, 1004, 38, 1, 100, 0, 4, 1, 0, 0, 0, 80, 1670024, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Data Set 4 1 - Run Aggro Script AND Move to Pos'), +(-(@CGUID+43), 0, 1004, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 69.452446, 239.98776, -13.193644, 0, 'Shattered Hand Brawler - Linked - Move To Position'), +(-(@CGUID+43), 0, 1005, 0, 34, 0, 100, 0, 8, 1, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Reached Point - Set In Combat With Zone'), +(-(@CGUID+44), 0, 1001, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670023, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Reset - Run Reset Script'), +(-(@CGUID+44), 0, 1002, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670024, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Aggro - Run Aggro Script'), +(-(@CGUID+44), 0, 1003, 1004, 38, 1, 100, 0, 4, 1, 0, 0, 0, 80, 1670024, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Data Set 4 1 - Run Aggro Script AND Move to Pos'), +(-(@CGUID+44), 0, 1004, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 69.452446, 239.98776, -13.193644, 0, 'Shattered Hand Brawler - Linked - Move To Position'), +(-(@CGUID+44), 0, 1005, 0, 34, 0, 100, 0, 8, 1, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Reached Point - Set In Combat With Zone'), +(-(@CGUID+45), 0, 1001, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670023, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - On Reset - Run Reset Script'), +(-(@CGUID+45), 0, 1002, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1670024, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - On Aggro - Run Aggro Script'), +(-(@CGUID+45), 0, 1003, 1004, 38, 1, 100, 0, 4, 1, 0, 0, 0, 80, 1670024, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - On Data Set 4 1 - Run Aggro Script AND Move to Pos'), +(-(@CGUID+45), 0, 1004, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 69.452446, 239.98776, -13.193644, 0, 'Shadowmoon Acolyte - Linked - Move To Position'), +(-(@CGUID+45), 0, 1005, 0, 34, 0, 100, 0, 8, 1, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - On Reached Point - Set In Combat With Zone'), +-- Sparring w/ Dummies +(-(@CGUID+163), 0, 1000, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 2, 1692, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Hall - On Reset - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+163), 0, 1001, 0, 38, 0, 100, 0, 5, 1, 0, 0, 0, 80, 1670026, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Hall - On Called by Legionnaire - Run Script'), +(-(@CGUID+165), 0, 1000, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 2, 1692, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Hall - On Reset - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+165), 0, 1001, 0, 38, 0, 100, 0, 5, 1, 0, 0, 0, 80, 1670026, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Hall - On Called by Legionnaire - Run Script'), +(-(@CGUID+167), 0, 1000, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 2, 1692, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Hall - On Reset - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+167), 0, 1001, 0, 38, 0, 100, 0, 5, 1, 0, 0, 0, 80, 1670026, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Hall - On Called by Legionnaire - Run Script'), +(-(@CGUID+169), 0, 1000, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 2, 1692, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Hall - On Reset - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+169), 0, 1001, 0, 38, 0, 100, 0, 5, 1, 0, 0, 0, 80, 1670026, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Hall - On Called by Legionnaire - Run Script'), +(-(@CGUID+171), 0, 1000, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 2, 1692, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Hall - On Reset - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+171), 0, 1001, 0, 38, 0, 100, 0, 5, 1, 0, 0, 0, 80, 1670026, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Hall - On Called by Legionnaire - Run Script'), +(-(@CGUID+173), 0, 1000, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 2, 1692, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Hall - On Reset - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+173), 0, 1001, 0, 38, 0, 100, 0, 5, 1, 0, 0, 0, 80, 1670026, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Hall - On Called by Legionnaire - Run Script'), +-- Sparring Hall Legionnaires +(-(@CGUID+131), 0, 1000, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1670011, 1, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reset - Start Waypoint'), +(-(@CGUID+131), 0, 1001, 0, 1, 0, 100, 0, 12100, 14550, 12100, 14550, 0, 80, 1670025, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Out of Combat - Run Script'), +(-(@CGUID+131), 0, 1002, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 63, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Nearby Creature Dies - Add 1 to Counter'), +(-(@CGUID+131), 0, 1003, 1004, 77, 0, 100, 0, 1, 1, 0, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 1/3 - Say Line 6'), +(-(@CGUID+131), 0, 1004, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 5, 1, 0, 0, 0, 0, 10, @CGUID+163, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 1/3 - Call Add'), +(-(@CGUID+131), 0, 1005, 1006, 77, 0, 100, 0, 1, 2, 0, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 2/3 - Say Line 6'), +(-(@CGUID+131), 0, 1006, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 5, 1, 0, 0, 0, 0, 10, @CGUID+165, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 2/3 - Call Add'), +(-(@CGUID+131), 0, 1007, 1008, 77, 0, 100, 0, 1, 3, 0, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 3/3 - Say Line 6'), +(-(@CGUID+131), 0, 1008, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 5, 1, 0, 0, 0, 0, 10, @CGUID+167, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 3/3 - Call Add'), +(-(@CGUID+137), 0, 1000, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1670012, 1, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Reset - Start Waypoint'), +(-(@CGUID+137), 0, 1001, 0, 1, 0, 100, 0, 12100, 14550, 12100, 14550, 0, 80, 1670025, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Out of Combat - Run Script'), +(-(@CGUID+137), 0, 1002, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 63, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Nearby Creature Dies - Add 1 to Counter'), +(-(@CGUID+137), 0, 1003, 1004, 77, 0, 100, 0, 1, 1, 0, 0, 0, 1, 9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 1/3 - Say Line 9'), +(-(@CGUID+137), 0, 1004, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 5, 1, 0, 0, 0, 0, 10, @CGUID+169, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 1/3 - Call Add'), +(-(@CGUID+137), 0, 1005, 1006, 77, 0, 100, 0, 1, 2, 0, 0, 0, 1, 9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 2/3 - Say Line 9'), +(-(@CGUID+137), 0, 1006, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 5, 1, 0, 0, 0, 0, 10, @CGUID+171, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 2/3 - Call Add'), +(-(@CGUID+137), 0, 1007, 1008, 77, 0, 100, 0, 1, 3, 0, 0, 0, 1, 9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 3/3 - Say Line 9'), +(-(@CGUID+137), 0, 1008, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 5, 1, 0, 0, 0, 0, 10, @CGUID+173, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Counter 3/3 - Call Add'), +-- Sparring Orcs +(-(@CGUID+144), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746402, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1693 (Monster Spar Buddy)'), +(-(@CGUID+145), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746401, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+146), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746402, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1693 (Monster Spar Buddy)'), +(-(@CGUID+147), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746401, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+149), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746402, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1693 (Monster Spar Buddy)'), +(-(@CGUID+150), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746401, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+151), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746402, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1693 (Monster Spar Buddy)'), +(-(@CGUID+152), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746401, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+155), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746402, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1693 (Monster Spar Buddy)'), +(-(@CGUID+157), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746401, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+156), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746402, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1693 (Monster Spar Buddy)'), +(-(@CGUID+154), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746401, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+159), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746402, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1693 (Monster Spar Buddy)'), +(-(@CGUID+160), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746401, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1692 (Monster Spar)'), +(-(@CGUID+162), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746402, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1693 (Monster Spar Buddy)'), +(-(@CGUID+161), 0, 1000, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1746401, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 1 - Set Faction 1692 (Monster Spar)'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (1742000, 1670000, 1670001, 1670002, 1670003, 1670004, 1670005, 1670006, 1670007, 1670008, 1670009, 1670010, 1670011, 1670012, 1670013, 1669900, 1670400, 1742001, 1769400, 1670014, 1769401, 1670015, 1670016, 1670017, 1670018, 1670019, 1670020, 1670021, 1670022, 1670023, 1670024, 1670025, 1670026, 1746400, 1746500, 1746501, 1746401, 1746402)); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(1742000, 9, 0, 0, 0, 0, 100, 0, 600, 600, 0, 0, 0, 4, 1341, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Heathen - Actionlist - Play Sound 1341'), +(1742000, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 17, 333, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Heathen - Actionlist - Set Emote State 333'), +(1742000, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Heathen - Actionlist - Set Sheath Melee'), +(1670000, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Say Line 2 (Variation 1)'), +(1670000, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 36, 0, 0, 0, 0, 0, 9, 17420, 0, 60, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Emote 36 (OneShotAttack1H)'), +(1670001, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 54, 8500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Pause Waypoint'), +(1670001, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 19, 17420, 10, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Store Target Closest Ally'), +(1670001, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 1, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Move To Stored Target'), +(1670002, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Orientation to Stored Target'), +(1670002, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Start Actionlist on Stored Target'), +(1670002, 9, 2, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 5, 113, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Emote 113 (OneShotSaluteNoSheath)'), +(1670002, 9, 3, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Emote 5 (OneShotExclamation)'), +(1670003, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 16700, 10, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - Actionlist - Set Orientation Closest Creature \'Shattered Hand Legionnaire\''), +(1670003, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 66, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - Actionlist - Play Emote 66 (OneShotSalute)'), +(1670003, 9, 2, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Trash - Actionlist - Play Emote 1 (OneShotTalk)'), +(1670003, 9, 3, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 3.071779489517212, 'Shattered Hand Trash - Actionlist - Set Orientation 3.071779489517212'), +(1670004, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 2, 1, 0, 0, 0, 0, 9, 0, 0, 40, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Data 2 1 - Perform Emote'), +(1670004, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Say Line 11'), +(1670005, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 9, 0, 0, 40, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Data 2 2 - Perform Emote'), +(1670005, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 12, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Say Line 12'), +(1670006, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 54, 30000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Pause Waypoint'), +(1670006, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 11, 0, 10, 1, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Store Targetlist'), +(1670006, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 69, 3, 0, 0, 1, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Move To Stored Target'), +(1670007, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Orientation Stored Target'), +(1670007, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 2, 3, 0, 0, 0, 0, 9, 0, 0, 1, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Data 2 3'), -- Set Orientation and Emote 66 +(1670007, 9, 2, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 1, 13, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Say Line 13'), +(1670007, 9, 3, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 65, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Resume Waypoint'), +(1670008, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 0, 7, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Orientation Closest Creature'), +(1670008, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 2, 4, 0, 0, 0, 0, 9, 0, 0, 1, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Data 2 4'), +(1670008, 9, 2, 0, 0, 0, 100, 0, 2800, 2800, 0, 0, 0, 1, 14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Say Line 14'), -- StandState 8 +(1670008, 9, 3, 0, 0, 0, 100, 0, 3400, 3400, 0, 0, 0, 5, 11, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Emote 11'), +(1670008, 9, 4, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 65, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Resume Waypoint'), +(1670009, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 16700, 10, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Orientation Closest Creature \'Shattered Hand Legionnaire\''), +(1670009, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Remove FlagStandstate Kneel'), +(1670009, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 66, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Emote 66'), +(1670010, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 16700, 10, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Orientation Closest Creature \'Shattered Hand Legionnaire\''), +(1670010, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Remove FlagStandstate Kneel'), +(1670010, 9, 2, 0, 0, 0, 100, 0, 2800, 2800, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Flag Standstate Kneel'), +(1670011, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire Gauntlet Event - Actionlist - Set Visibility Off'), +(1670011, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 18, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire Gauntlet Event - Actionlist - Set Flags Immune To Players & Immune To NPC\'s'), +(1670012, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire Gauntlet Event - Actionlist - Set Visibility On'), +(1670012, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 19, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire Gauntlet Event - Actionlist - Remove Flags Immune To Players & Immune To NPC\'s'), +(1670013, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 15, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Emote 15 (OneShotRoar)'), +(1670013, 9, 1, 0, 0, 0, 100, 0, 3600, 3600, 0, 0, 0, 53, 0, 1670003, 1, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Start Waypoint'), +(1669900, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 4, 1341, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - Actionlist - Play Sound 1341'), +(1669900, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 17, 375, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - Actionlist - Set Emote State 375'), +(1669900, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - Actionlist - Set Sheath Melee'), +(1669900, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - Actionlist - Set Home Position'), +(1670400, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 4, 1341, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - Actionlist - Play Sound 1341'), +(1670400, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 17, 214, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - Actionlist - Set Emote State 214'), +(1670400, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 40, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - Actionlist - Set Sheath Ranged'), +(1670400, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - Actionlist - Set Home Position'), +(1742001, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Heathen - Actionlist - Play Emote 5'), +(1742001, 9, 1, 0, 0, 0, 100, 0, 3600, 3600, 0, 0, 0, 4, 1341, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Heathen - Actionlist - Play Sound 1341'), +(1742001, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 17, 333, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Heathen - Actionlist - Set Emote State 333'), +(1742001, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Heathen - Actionlist - Set Sheath Melee'), +(1769400, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - Actionlist - Set Home Position'), +(1769400, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 5.044001579284668, 'Shadowmoon Darkcaster - Actionlist - Set Orientation 5.044001579284668'), +(1769400, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - Actionlist - Set Flag Standstate Kneel'), +(1670014, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Emote 25 (OneShotPoint)'), +(1670014, 9, 1, 0, 0, 0, 100, 0, 3600, 3600, 0, 0, 0, 53, 0, 1670005, 1, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Start Waypoint'), +(1769401, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - Actionlist - Set Home Position'), +(1769401, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 275, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - Actionlist - Play Emote 275'), +(1769401, 9, 2, 0, 0, 0, 100, 0, 2800, 2800, 0, 0, 0, 17, 27, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - Actionlist - Set Emote State 27'), +(1670015, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Run Off'), +(1670015, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0.5410520434379578, 'Shattered Hand Legionnaire - Actionlist - Set Orientation 0.5410520434379578'), +(1670015, 9, 2, 0, 0, 0, 100, 0, 7200, 7200, 0, 0, 0, 5, 15, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Emote 15 (OneShotRoar)'), +(1670015, 9, 3, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 45, 4, 2, 0, 0, 0, 0, 9, 0, 0, 20, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Data 4 2 Emote ID: 71 (OneShotCheerNoSheathe)'), +(1670015, 9, 4, 0, 0, 0, 100, 0, 4800, 4800, 0, 0, 0, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Emote 1 (OneShotTalk)'), +(1670015, 9, 5, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 45, 4, 3, 0, 0, 0, 0, 9, 0, 0, 20, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Data 4 3 Emote ID: 153 (OneShotLaughNoSheathe)'), +(1670015, 9, 6, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 69.713936, 263.39304, -13.201049, 3.944444179534912, 'Shattered Hand Legionnaire - Actionlist - Reset Position'), +(1670016, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Run Off'), +(1670016, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 4.6949357986450195, 'Shattered Hand Legionnaire - Actionlist - Set Orientation 4.6949357986450195'), +(1670016, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 15, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Say Line 15'), +(1670016, 9, 3, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 45, 4, 2, 0, 0, 0, 0, 9, 0, 0, 20, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Data 4 2 Emote ID: 71 (OneShotCheerNoSheathe)'), +(1670016, 9, 4, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 69, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 69.66478, 257.30325, -13.20005, 0, 'Shattered Hand Legionnaire - Actionlist - Move To Position'), +(1670016, 9, 5, 0, 0, 0, 100, 0, 2800, 2800, 0, 0, 0, 1, 16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Say Line 16'), +(1670016, 9, 6, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 45, 4, 2, 0, 0, 0, 0, 9, 0, 0, 20, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Data 4 2 Emote ID: 71 (OneShotCheerNoSheathe)'), +(1670016, 9, 7, 0, 0, 0, 100, 0, 800, 800, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 69.760185, 263.40073, -13.201066, 0, 'Shattered Hand Legionnaire - Actionlist - Reset Position'), +(1670017, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1670008, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Start Waypoint'), +(1670017, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Event Phase 1'), +(1670018, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1670009, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Start Waypoint'), +(1670018, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Event Phase 1'), +(1670019, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1670010, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Start Waypoint'), +(1670019, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Event Phase 1'), +(1670020, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 15, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Emote 15 (OneShotRoar)'), +(1670020, 9, 1, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 45, 4, 2, 0, 0, 0, 0, 9, 0, 0, 20, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Data 4 2 Emote ID: 71 (OneShotCheerNoSheathe)'), +(1670021, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Emote 1 (OneShotTalk)'), +(1670021, 9, 1, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 45, 4, 3, 0, 0, 0, 0, 9, 0, 0, 20, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Data 4 3 Emote ID: 153 (OneShotLaughNoSheathe)'), +(1670022, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Emote 5 (OneShotExclamation)'), +(1670022, 9, 1, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 45, 4, 4, 0, 0, 0, 0, 9, 0, 0, 20, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Set Data 4 4 Emote ID: 113 (OneShotSaluteNoSheath)'), +(1670023, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 16093, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Barracks Sleeping Orc Reset - Actionlist - Cast \'Self Visual - Sleep Until Cancelled (DND)\''), +(1670023, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 90, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Barracks Sleeping Orc Reset - Actionlist - Set Flag Standstate Sleep'), +(1670023, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 8, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Barracks Sleeping Orc Reset - Actionlist - Set Reactstate Defensive'), +(1670023, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Barracks Sleeping Orc Reset - Actionlist - Set Event Phase 1'), +(1670024, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 28, 16093, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Barracks Sleeping Orc Aggro - Actionlist - Remove Aura \'Self Visual - Sleep Until Cancelled (DND)\''), +(1670024, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 91, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Barracks Sleeping Orc Aggro - Actionlist - Remove FlagStandstate Sleep'), +(1670024, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Barracks Sleeping Orc Aggro - Actionlist - Set Reactstate Aggressive'), +(1670024, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Barracks Sleeping Orc Reset - Actionlist - Set Event Phase 0'), +(1670025, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 54, 2400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Pause Waypoint'), +(1670025, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 10, 23, 15, 11, 5, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Random Emote (23, 15, 11, 5)'), +(1670025, 9, 2, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 10, 66, 4, 0, 0, 0, 0, 9, 0, 0, 10, 1, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Actionlist - Play Random Emote (66, 4)'), +(1670026, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 2, 16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Orc Minion Aggro - Actionlist - Set Faction 16'), +(1670026, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Halls Sparring Orc Minion Aggro - Actionlist - Set In Combat With Zone'), +(1746400, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 2, 16, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - Actionlist - Restore Faction (16)'), +(1746400, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 5, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - Actionlist - Play Emote 2 (OneShotBow)'), +(1746400, 9, 2, 0, 0, 0, 100, 0, 3600, 3600, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - Actionlist - Evade'), +(1746500, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Centurion - Actionlist - Say Line 0'), +(1746500, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Centurion - Actionlist - Set Event Phase 2 (Don\t Start Another Match)'), +(1746500, 9, 2, 0, 0, 0, 100, 0, 400, 400, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 9, 17464, 0, 20, 1, 0, 0, 0, 0, 'Shattered Hand Centurion - Actionlist - Start Sparring Match'), +(1746501, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Centurion - Actionlist - Say Line 2'), +(1746501, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Centurion - Actionlist - Set Event Phase 1 (Start Cooldown for Another Match)'), +(1746501, 9, 2, 0, 0, 0, 100, 0, 400, 400, 0, 0, 0, 45, 1, 2, 0, 0, 0, 0, 9, 17464, 0, 20, 1, 0, 0, 0, 0, 'Shattered Hand Centurion - Actionlist - Stop Sparring Match'), +(1746401, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 2, 1692, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - Actionlist - Set Faction 1692 (Monster Spar)'), +(1746401, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 17464, 10, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - Actionlist - Start Attacking'), +(1746402, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 2, 1693, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - Actionlist - Set Faction 1693 (Monster Spar Buddy)'), +(1746402, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 17464, 10, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - Actionlist - Start Attacking'); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 22) AND (`SourceEntry` = -(@CGUID+5)); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 1003, -(@CGUID+5), 0, 0, 29, 1, 17420, 10, 0, 0, 0, 0, '', 'Shattered Halls Entrance event requires another NPC nearby'); + +/* + Re-Do Base SAI + Heathen, Savage, Acolyte, Darkcaster, Reaver, Brawler, Sharpshooter +*/ + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 17420) AND (`source_type` = 0) AND (`id` = 5); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(17420, 0, 5, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 16700, 40, 0, 0, 0, 0, 0, 0, 'Shattered Hand Heathen - On Just Died - Set Data 1 1 on Closest Legionnaire'); + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 16523) AND (`source_type` = 0) AND (`id` = 5); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(16523, 0, 5, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 16700, 20, 0, 0, 0, 0, 0, 0, 'Shattered Hand Savage - On Just Died - Set Data 1 1 on Closest Legionnaire'); + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 16594 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(16594, 0, 0, 0, 0, 0, 100, 0, 0, 0, 2500, 2500, 0, 11, 15587, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - In Combat - Cast \'Mind Blast\''), +(16594, 0, 1, 0, 0, 0, 100, 2, 5000, 5000, 25000, 25000, 0, 11, 35944, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - In Combat - Cast \'Power Word: Shield\' (Normal Dungeon)'), +(16594, 0, 2, 0, 0, 0, 100, 4, 5000, 5000, 25000, 25000, 0, 11, 36052, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - In Combat - Cast \'Power Word: Shield\' (Heroic Dungeon)'), +(16594, 0, 3, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 11, 30479, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - In Combat - Cast \'Resist Shadow\' (No Repeat)'), +(16594, 0, 4, 0, 2, 0, 100, 2, 0, 60, 7000, 7000, 0, 11, 15585, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - Between 0-60% Health - Cast \'Prayer of Healing\' (Normal Dungeon)'), +(16594, 0, 5, 0, 2, 0, 100, 4, 0, 60, 7000, 7000, 0, 11, 35943, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - Between 0-60% Health - Cast \'Prayer of Healing\' (Heroic Dungeon)'), +(16594, 0, 6, 0, 4, 0, 15, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - On Aggro - Say Line 1 (No Repeat)'), +(16594, 0, 7 , 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 16700, 20, 0, 0, 0, 0, 0, 0, 'Shadowmoon Acolyte - On Death - Set Data 1 1 on Closest Legionnaire'); + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 17694) AND (`source_type` = 0) AND (`id` = 7); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(17694, 0, 7, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 16700, 20, 0, 0, 0, 0, 0, 0, 'Shadowmoon Darkcaster - On Death - Set Data 1 1 on Closest Legionnaire'); + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 16699) AND (`source_type` = 0) AND (`id` = 5); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(16699, 0, 5, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 16700, 20, 0, 0, 0, 0, 0, 0, 'Shattered Hand Reaver - On Just Died - Set Data 1 1 on Closest Legionnaire'); + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 16593) AND (`source_type` = 0) AND (`id` IN (2, 3)); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(16593, 0, 2, 0, 4, 0, 15, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Aggro - Say Line 1'), +(16593, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 16700, 20, 0, 0, 0, 0, 0, 0, 'Shattered Hand Brawler - On Just Died - Set Data 1 1 on Closest Legionnaire'); + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 16704) AND (`source_type` = 0) AND (`id` IN (4)); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(16704, 0, 4, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 16700, 20, 0, 0, 0, 0, 0, 0, 'Shattered Hand Sharpshooter - On Just Died - Set Data 1 1 on Closest Legionnaire'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 17083); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(17083, 0, 0, 0, 0, 0, 100, 0, 1500, 3000, 10000, 15000, 0, 11, 30478, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - In Combat - Cast \'Hemorrhage\''), +(17083, 0, 1, 2, 4, 0, 100, 512, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 11, 16807, 50, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Aggro - Store Targetlist'), +(17083, 0, 2, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Aggro - Set Data 1 1'), +(17083, 0, 3, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 45, 1, 2, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Just Died - Set Data 1 2'), +(17083, 0, 4, 0, 34, 0, 100, 0, 8, 1, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Reached Point 1 - Set In Combat With Zone'), +(17083, 0, 5, 0, 58, 0, 100, 0, 0, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Waypoint Finished - Set In Combat With Zone'), +(17083, 0, 10, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 70.039566, 47.337353, -13.221819, 0, 'Fel Orc Convert - On Just Summoned - Move To Position'), +(17083, 0, 11, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1708301, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Just Summoned - Start Waypoint'), +(17083, 0, 12, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1708302, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Just Summoned - Start Waypoint'), +(17083, 0, 13, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1708303, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Just Summoned - Start Waypoint'); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 22) AND (`SourceEntry` = 17083) AND (`SourceId` = 0) AND (`ConditionValue3` IN (@CGUID+10, @CGUID+19, @CGUID+24, @CGUID+29)); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 11, 17083, 0, 0, 31, 0, 3, 16700, @CGUID+10, 0, 0, 0, '', 'Shattered Halls Entrance Hall - Move to Pos if summoner is specified guid'), +(22, 12, 17083, 0, 0, 31, 0, 3, 16700, @CGUID+19, 0, 0, 0, '', 'Shattered Halls Entrance Hall - Start Path if summoner is specified guid'), +(22, 13, 17083, 0, 0, 31, 0, 3, 16700, @CGUID+24, 0, 0, 0, '', 'Shattered Halls Entrance Hall - Start Path if summoner is specified guid'), +(22, 14, 17083, 0, 0, 31, 0, 3, 16700, @CGUID+29, 0, 0, 0, '', 'Shattered Halls Entrance Hall - Start Path if summoner is specified guid'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 16700); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(16700, 0, 0, 0, 0, 0, 100, 0, 1500, 5000, 240000, 240000, 0, 11, 30472, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - In Combat - Cast \'Aura of Discipline\''), +(16700, 0, 1, 0, 13, 0, 100, 0, 10000, 15000, 0, 0, 0, 11, 15615, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Victim Casting - Cast \'Pummel\''), +(16700, 0, 2, 0, 4, 0, 15, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Aggro - Say Line 1'), +(16700, 0, 3, 4, 38, 0, 100, 0, 1, 1, 60000, 60000, 0, 11, 30485, 32, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - On Data Set 1 1 (Friendly Dies Nearby) - Cast \'Enrage\''), +(16700, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Legionnaire - Linked - Say Line 0'); + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 17464) AND (`source_type` = 0) AND (`id` IN (1, 2)); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(17464, 0, 1, 0, 38, 0, 100, 0, 1, 2, 0, 0, 0, 80, 1746400, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - On Data Set 1 2 - Run Script'), +(17464, 0, 2, 0, 2, 0, 100, 0, 0, 30, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 17465, 20, 0, 0, 0, 0, 0, 0, 'Shattered Hand Gladiator - Between 0-30% Health - Set Data 1 1 (Phase 1)'); + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 17465) AND (`source_type` = 0) AND (`id` IN (5, 6, 7, 8, 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(17465, 0, 5, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Centurion - On Reset - Set Event Phase 1 (Allow Sparring Match'), +(17465, 0, 6, 0, 1, 1, 100, 0, 12100, 15800, 12100, 15800, 0, 80, 1746500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Centurion - Out of Combat - Start Sparring Match (Phase 1)'), +(17465, 0, 7, 0, 1, 0, 100, 0, 6050, 13350, 6050, 13350, 0, 10, 11, 15, 23, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Centurion - Out of Combat - Play Random Emote (11, 15, 23)'), +(17465, 0, 8, 0, 38, 3, 100, 0, 1, 1, 0, 0, 0, 80, 1746501, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Centurion - On Data Set 1 1 - Stop Sparring Match (Phase 1 & 2)'), +(17465, 0, 9, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Shattered Hand Centurion - On Aggro - Set Event Phase 0'); + +/* + Non-Scripted Pathing +*/ + +-- Pathing for Creeping Oozeling Entry: 17357 +SET @NPC := @CGUID+85; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,205.91925,162.35544,-42.42529,NULL,0,1,0,100,0), +(@PATH,2,192.86397,164.3215,-42.362396,NULL,0,1,0,100,0), +(@PATH,3,178.02806,166.20204,-42.09726,NULL,0,1,0,100,0), +(@PATH,4,166.31793,169.74092,-42.10371,NULL,0,1,0,100,0), +(@PATH,5,155.02953,177.77226,-43.611828,NULL,0,1,0,100,0), +(@PATH,6,142.2658,189.67696,-46.590664,NULL,0,1,0,100,0), +(@PATH,7,131.14032,203.60815,-48.83939,NULL,0,1,0,100,0), +(@PATH,8,127.19158,216.2265,-48.44385,NULL,0,1,0,100,0), +(@PATH,9,127.05512,230.76259,-46.87825,NULL,0,1,0,100,0), +(@PATH,10,127.2688,244.1904,-45.153778,NULL,0,1,0,100,0), +(@PATH,11,124.92027,255.49118,-45.247597,NULL,0,1,0,100,0), +(@PATH,12,120.45164,249.47282,-45.198177,NULL,0,1,0,100,0), +(@PATH,13,120.65534,230.80382,-46.863056,NULL,0,1,0,100,0), +(@PATH,14,121.29522,217.32219,-48.271515,NULL,0,1,0,100,0), +(@PATH,15,123.2833,203.54076,-48.707466,NULL,0,1,0,100,0), +(@PATH,16,128.15083,193.24666,-48.296864,NULL,0,1,0,100,0), +(@PATH,17,132.96175,187.78728,-47.315586,NULL,0,1,0,100,0), +(@PATH,18,141.35631,180.62564,-45.52806,NULL,0,1,0,100,0), +(@PATH,19,148.5689,174.72017,-44.038826,NULL,0,1,0,100,0), +(@PATH,20,159.80417,166.5734,-42.522095,NULL,0,1,0,100,0), +(@PATH,21,171.07854,161.57185,-42.34545,NULL,0,1,0,100,0), +(@PATH,22,185.7399,157.80208,-42.359528,NULL,0,1,0,100,0), +(@PATH,23,199.63754,158.02277,-42.389294,NULL,0,1,0,100,0); +-- 0x203CA8438010F3400016A100003B3F63 .go xyz 205.91925 162.35544 -42.42529 + +-- Pathing for Creeping Oozeling Entry: 17357 +SET @NPC := @CGUID+86; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,130.40237,258.11697,-45.2686,NULL,0,0,0,100,0), +(@PATH,2,116.46909,242.06526,-45.46508,NULL,0,0,0,100,0), +(@PATH,3,128.59535,213.18562,-48.986923,NULL,0,0,0,100,0), +(@PATH,4,125.9,188.99419,-48.03593,NULL,0,0,0,100,0), +(@PATH,5,148.54898,186.42651,-45.1298,NULL,0,0,0,100,0), +(@PATH,6,154.66528,166.41066,-42.992058,NULL,0,0,0,100,0), +(@PATH,7,187.89859,166.88066,-42.344864,NULL,0,0,0,100,0), +(@PATH,8,201.7792,154.33182,-42.40438,NULL,0,0,0,100,0), +(@PATH,9,187.89859,166.88066,-42.344864,NULL,0,0,0,100,0), +(@PATH,10,154.66528,166.41066,-42.992058,NULL,0,0,0,100,0), +(@PATH,11,148.54898,186.42651,-45.1298,NULL,0,0,0,100,0), +(@PATH,12,125.9,188.99419,-48.03593,NULL,0,0,0,100,0), +(@PATH,13,128.59535,213.18562,-48.986923,NULL,0,0,0,100,0), +(@PATH,14,116.46909,242.06526,-45.46508,NULL,0,0,0,100,0); +-- 0x203CA8438010F3400016A100003B3F67 .go xyz 130.40237 258.11697 -45.2686 + +-- Pathing for Creeping Oozeling Entry: 17357 +SET @NPC := @CGUID+87; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,204.35081,157.2191,-42.42002,NULL,0,0,0,100,0), +(@PATH,2,188.83406,156.31749,-42.362614,NULL,0,0,0,100,0), +(@PATH,3,173.75594,158.34296,-42.34844,NULL,0,0,0,100,0), +(@PATH,4,164.90918,162.79108,-42.33959,NULL,0,0,0,100,0), +(@PATH,5,155.07845,169.18184,-43.112976,NULL,0,0,0,100,0), +(@PATH,6,138.18587,182.20901,-46.14079,NULL,0,0,0,100,0), +(@PATH,7,129.483,194.90392,-48.32469,NULL,0,0,0,100,0), +(@PATH,8,121.16569,212.9327,-48.68246,NULL,0,0,0,100,0), +(@PATH,9,120.61717,233.68568,-46.492027,NULL,0,0,0,100,0), +(@PATH,10,123.36229,245.10045,-45.15374,NULL,0,0,0,100,0), +(@PATH,11,128.45403,239.6891,-45.73134,NULL,0,0,0,100,0), +(@PATH,12,127.27684,223.08913,-47.691334,NULL,0,0,0,100,0), +(@PATH,13,125.94965,215.66638,-48.40699,NULL,0,0,0,100,0), +(@PATH,14,130.3105,198.84138,-48.512295,NULL,0,0,0,100,0), +(@PATH,15,141.06503,186.74463,-46.231396,NULL,0,0,0,100,0), +(@PATH,16,153.51591,175.23079,-43.606773,NULL,0,0,0,100,0), +(@PATH,17,160.80489,169.9009,-42.620213,NULL,0,0,0,100,0), +(@PATH,18,173.26784,163.25279,-42.347187,NULL,0,0,0,100,0), +(@PATH,19,189.9367,163.26945,-42.35478,NULL,0,0,0,100,0); +-- 0x203CA8438010F3400016A100003B3F6B .go xyz 204.35081 157.2191 -42.42002 + +-- Pathing for Creeping Oozeling Entry: 17357 +SET @NPC := @CGUID+88; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,203.84158,166.2325,-42.404785,NULL,0,0,0,100,0), +(@PATH,2,184.36604,154.83159,-42.358753,NULL,0,0,0,100,0), +(@PATH,3,168.82005,171.66129,-41.895992,NULL,0,0,0,100,0), +(@PATH,4,153.42018,166.4764,-43.111977,NULL,0,0,0,100,0), +(@PATH,5,149.41823,187.53679,-45.088314,NULL,0,0,0,100,0), +(@PATH,6,123.48256,194.85074,-48.43981,NULL,0,0,0,100,0), +(@PATH,7,130.13234,225.83313,-47.437157,NULL,0,0,0,100,0), +(@PATH,8,118.14948,241.91426,-45.472076,NULL,0,0,0,100,0), +(@PATH,9,130.13234,225.83313,-47.437157,NULL,0,0,0,100,0), +(@PATH,10,123.48256,194.85074,-48.43981,NULL,0,0,0,100,0), +(@PATH,11,149.41823,187.53679,-45.088314,NULL,0,0,0,100,0), +(@PATH,12,153.42018,166.4764,-43.111977,NULL,0,0,0,100,0), +(@PATH,13,168.82005,171.66129,-41.895992,NULL,0,0,0,100,0), +(@PATH,14,184.36604,154.83159,-42.358753,NULL,0,0,0,100,0); +-- 0x203CA8438010F3400016A100003B3F73 .go xyz 203.84158 166.2325 -42.404785 + +-- Pathing for Shattered Hand Houndmaster Entry: 17670 +SET @NPC := @CGUID+128; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=430.70596,`position_y`=58.27038,`position_z`=2.0049384 WHERE `guid`=@NPC; +UPDATE `creature` SET `position_x`=430.70596,`position_y`=58.27038,`position_z`=2.0049384 WHERE `guid` IN (@CGUID+129, @CGUID+130); +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,430.70596,58.27038,2.0049384,NULL,0,0,0,100,0), +(@PATH,2,436.75922,53.82539,1.925432,NULL,0,0,0,100,0), +(@PATH,3,450.10388,57.169678,1.9267677,NULL,0,0,0,100,0), +(@PATH,4,459.8768,57.486713,1.9384289,NULL,0,0,0,100,0), +(@PATH,5,484.6614,57.491474,1.9347191,NULL,0,0,0,100,0), +(@PATH,6,499.84537,57.432102,1.9408772,NULL,0,0,0,100,0), +(@PATH,7,512.16394,59.819527,1.9372166,NULL,0,0,0,100,0), +(@PATH,8,518.48566,74.102104,1.9048867,NULL,0,0,0,100,0), +(@PATH,9,518.7643,84.54578,1.933246,NULL,0,0,0,100,0), +(@PATH,10,522.1816,93.50193,1.9172946,NULL,0,0,0,100,0), +(@PATH,11,522.32776,103.9952,1.9267256,NULL,0,0,0,100,0), +(@PATH,12,518.59015,109.2831,1.9350262,NULL,0,0,0,100,0), +(@PATH,13,514.31537,105.71796,1.929482,NULL,0,0,0,100,0), +(@PATH,14,518.8863,86.14224,1.9351246,NULL,0,0,0,100,0), +(@PATH,15,517.80896,74.34265,1.9050009,NULL,0,0,0,100,0), +(@PATH,16,511.79678,60.39599,1.9369621,NULL,0,0,0,100,0), +(@PATH,17,500.0572,58.475758,1.9402512,NULL,0,0,0,100,0), +(@PATH,18,485.16956,58.154434,1.9346583,NULL,0,0,0,100,0), +(@PATH,19,459.37115,58.70152,1.9383427,NULL,0,0,0,100,0), +(@PATH,20,450.82022,58.783375,1.9266548,NULL,0,0,0,100,0), +(@PATH,21,437.0384,61.912605,1.9237044,NULL,0,0,0,100,0); +-- 0x2041DC43801141800058470000BC54A2 .go xyz 430.70596 58.27038 2.0049384 + +-- Pathing for Shattered Hand Houndmaster Entry: 17670 +SET @NPC := @CGUID+125; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=521.30457,`position_y`=237.0814,`position_z`=1.9299809 WHERE `guid`=@NPC; +UPDATE `creature` SET `position_x`=521.30457,`position_y`=237.0814,`position_z`=1.9299809 WHERE `guid` IN (@CGUID+126, @CGUID+127); +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,521.30457,237.0814,1.9299809,NULL,0,0,0,100,0), +(@PATH,2,517.14276,249.81818,1.9339325,NULL,0,0,0,100,0), +(@PATH,3,506.72614,240.23392,1.93266,NULL,0,0,0,100,0), +(@PATH,4,510.5138,229.18658,1.9293674,NULL,0,0,0,100,0), +(@PATH,5,519.78186,208.59735,1.8669927,NULL,0,0,0,100,0), +(@PATH,6,518.95435,196.91217,1.9373496,NULL,0,0,0,100,0), +(@PATH,7,518.4774,175.9383,1.9424627,NULL,0,0,0,100,0), +(@PATH,8,506.59488,163.44115,1.9319266,NULL,0,0,0,100,0), +(@PATH,9,501.43848,152.39388,1.929595,NULL,0,0,0,100,0), +(@PATH,10,508.708,141.22534,1.9262449,NULL,0,0,0,100,0), +(@PATH,11,522.292,141.31062,1.9339751,NULL,0,0,0,100,0), +(@PATH,12,532.2282,148.97649,1.9294553,NULL,0,0,0,100,0), +(@PATH,13,525.00385,170.1712,1.9321325,NULL,0,0,0,100,0), +(@PATH,14,519.4442,175.25598,1.9428399,NULL,0,0,0,100,0), +(@PATH,15,519.6646,196.366,1.9364898,NULL,0,0,0,100,0), +(@PATH,16,520.9925,208.3555,1.863179,NULL,0,0,0,100,0), +(@PATH,17,513.1584,221.61227,1.9342216,NULL,0,0,0,100,0); +-- 0x2041DC438011418000584700013C54A2 .go xyz 521.30457 237.0814 1.9299809 + +-- Pathing for Shattered Hand Houndmaster Entry: 17670 +SET @NPC := @CGUID+180; +SET @PATH := @NPC * 10; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, ''); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,287.82153,-84.24349,1.9618785,NULL,0,0,0,100,0), +(@PATH,2,291.21362,-89.2625,1.9129633,NULL,0,0,0,100,0), +(@PATH,3,306.8405,-87.17954,1.9372501,NULL,0,0,0,100,0), +(@PATH,4,343.15958,-86.27303,1.9356986,NULL,0,0,0,100,0), +(@PATH,5,360.74103,-83.51457,1.9183288,NULL,0,0,0,100,0), +(@PATH,6,373.4364,-71.93072,1.920069,NULL,0,0,0,100,0), +(@PATH,7,375.80185,-50.9922,1.9360272,NULL,0,0,0,100,0), +(@PATH,8,378.60367,-31.814674,1.9073824,NULL,0,0,0,100,0), +(@PATH,9,374.94492,-20.095032,1.9111354,NULL,0,0,0,100,0), +(@PATH,10,369.20135,-20.56937,1.9118699,NULL,0,0,0,100,0), +(@PATH,11,369.4805,-35.282803,1.9122882,NULL,0,0,0,100,0), +(@PATH,12,373.44144,-51.05542,1.9361445,NULL,0,0,0,100,0), +(@PATH,13,371.50775,-70.71428,1.9203951,NULL,0,0,0,100,0), +(@PATH,14,359.4892,-82.532364,1.9185716,NULL,0,0,0,100,0), +(@PATH,15,343.14014,-84.82301,1.9350435,NULL,0,0,0,100,0), +(@PATH,16,310.18472,-82.78763,1.9368917,NULL,0,0,0,100,0), +(@PATH,17,298.0218,-79.64861,1.9367486,NULL,0,0,0,100,0); +-- 0x2041E043801141800072EA00018E27ED .go xyz 287.82153 -84.24349 1.9618785 + +-- Pathing for Shattered Hand Assassin Entry: 17695 +SET @NPC := @CGUID+189; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=368.5422,`position_y`=-87.628334,`position_z`=1.9119368 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '30991'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,368.5422,-87.628334,1.9119368,NULL,0,0,0,100,0), +(@PATH,2,356.64178,-75.437904,1.913136,NULL,0,0,0,100,0), +(@PATH,3,354.86255,-90.409584,1.935186,NULL,0,0,0,100,0), +(@PATH,4,356.64178,-75.437904,1.913136,NULL,0,0,0,100,0); +-- 0x2041E043801147C00072EA00000E27ED .go xyz 368.5422 -87.628334 1.9119368 + +-- Pathing for Shattered Hand Assassin Entry: 17695 +SET @NPC := @CGUID+187; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=383.08115,`position_y`=-52.932426,`position_z`=1.939616 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '30991'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,383.08115,-52.932426,1.939616,NULL,0,0,0,100,0), +(@PATH,2,367.0894,-43.882507,1.9245446,NULL,0,0,0,100,0), +(@PATH,3,381.66763,-38.641228,1.9141335,NULL,0,0,0,100,0), +(@PATH,4,367.0894,-43.882507,1.9245446,NULL,0,0,0,100,0); +-- 0x2041E043801147C00072EA00008E27ED .go xyz 383.08115 -52.932426 1.939616 + +-- Pathing for Shattered Hand Assassin Entry: 17695 +SET @NPC := @CGUID+191; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=291.05557,`position_y`=-90.919136,`position_z`=1.9129256 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '30991'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,291.05557,-90.919136,1.9129256,NULL,0,0,0,100,0), +(@PATH,2,299.4695,-76.63259,1.9365374,NULL,0,0,0,100,0), +(@PATH,3,314.45364,-91.16705,1.9374878,NULL,0,0,0,100,0), +(@PATH,4,299.4695,-76.63259,1.9365374,NULL,0,0,0,100,0); +-- 0x2041E043801147C00072EA00010E27ED .go xyz 291.05557 -90.919136 1.9129256 + +-- Pathing for Shattered Hand Assassin Entry: 17695 +SET @NPC := @CGUID+188; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=381.3918,`position_y`=-74.539215,`position_z`=1.9187236 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '30991'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,381.3918,-74.539215,1.9187236,NULL,0,0,0,100,0), +(@PATH,2,365.37756,-68.21585,1.9214319,NULL,0,0,0,100,0), +(@PATH,3,381.1033,-60.501587,1.9292904,NULL,0,0,0,100,0), +(@PATH,4,365.37756,-68.21585,1.9214319,NULL,0,0,0,100,0); +-- 0x2041E043801147C00072EA00018E27ED .go xyz 381.3918 -74.539215 1.9187236 + +-- Pathing for Shattered Hand Assassin Entry: 17695 +SET @NPC := @CGUID+186; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=382.04645,`position_y`=-32.39672,`position_z`=1.9077514 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '30991'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,382.04645,-32.39672,1.9077514,NULL,0,0,0,100,0), +(@PATH,2,365.75497,-24.649958,1.9100889,NULL,0,0,0,100,0), +(@PATH,3,381.3262,-18.909515,1.9102229,NULL,0,0,0,100,0), +(@PATH,4,365.75497,-24.649958,1.9100889,NULL,0,0,0,100,0); +-- 0x2041E043801147C00072EA00020E27ED .go xyz 382.04645 -32.39672 1.9077514 + +-- Pathing for Shattered Hand Assassin Entry: 17695 +SET @NPC := @CGUID+190; +SET @PATH := @NPC * 10; +UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=325.15228,`position_y`=-92.04973,`position_z`=1.9375387 WHERE `guid`=@NPC; +DELETE FROM `creature_addon` WHERE `guid`=@NPC; +INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,0, '30991'); +DELETE FROM `waypoint_data` WHERE `id`=@PATH; +INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES +(@PATH,1,325.15228,-92.04973,1.9375387,NULL,0,0,0,100,0), +(@PATH,2,332.8256,-76.8942,1.9393015,NULL,0,0,0,100,0), +(@PATH,3,346.19812,-88.69315,1.9350995,NULL,0,0,0,100,0), +(@PATH,4,332.8256,-76.8942,1.9393015,NULL,0,0,0,100,0); +-- 0x2041E043801147C00072EA00028E27ED .go xyz 325.15228 -92.04973 1.9375387 + +/* + Formations +*/ + +DELETE FROM `creature_formations` WHERE `memberGUID` IN (@CGUID+49,@CGUID+50,@CGUID+51,@CGUID+52,@CGUID+53,@CGUID+54,@CGUID+55,@CGUID+56,@CGUID+57,@CGUID+58,@CGUID+59,@CGUID+60,@CGUID+61,@CGUID+62,@CGUID+63,@CGUID+64,@CGUID+65,@CGUID+66,@CGUID+67,@CGUID+68,@CGUID+69,@CGUID+70,@CGUID+71,@CGUID+72,@CGUID+73,@CGUID+74,@CGUID+75,@CGUID+76,@CGUID+77,@CGUID+78,@CGUID+79,@CGUID+80,@CGUID+81,@CGUID+82,@CGUID+83,@CGUID+84,@CGUID+128,@CGUID+129,@CGUID+130,@CGUID+125,@CGUID+126,@CGUID+127,@CGUID+180,@CGUID+181,@CGUID+182); +INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES +(@CGUID+49, @CGUID+49, 0, 0, 3), +(@CGUID+49, @CGUID+50, 2, 0, 515), +(@CGUID+49, @CGUID+51, 2, 72, 515), +(@CGUID+49, @CGUID+52, 2, 144, 515), +(@CGUID+49, @CGUID+53, 2, 216, 515), +(@CGUID+49, @CGUID+54, 2, 288, 515), +(@CGUID+55, @CGUID+55, 0, 0, 3), +(@CGUID+55, @CGUID+56, 2, 0, 515), +(@CGUID+55, @CGUID+57, 2, 72, 515), +(@CGUID+55, @CGUID+58, 2, 144, 515), +(@CGUID+55, @CGUID+59, 2, 216, 515), +(@CGUID+55, @CGUID+60, 2, 288, 515), +(@CGUID+60, @CGUID+61, 0, 0, 3), +(@CGUID+60, @CGUID+62, 2, 0, 515), +(@CGUID+60, @CGUID+63, 2, 72, 515), +(@CGUID+60, @CGUID+64, 2, 144, 515), +(@CGUID+60, @CGUID+65, 2, 216, 515), +(@CGUID+60, @CGUID+66, 2, 288, 515), +(@CGUID+67, @CGUID+67, 0, 0, 3), +(@CGUID+67, @CGUID+68, 2, 0, 515), +(@CGUID+67, @CGUID+69, 2, 72, 515), +(@CGUID+67, @CGUID+70, 2, 144, 515), +(@CGUID+67, @CGUID+71, 2, 216, 515), +(@CGUID+67, @CGUID+72, 2, 288, 515), +(@CGUID+73, @CGUID+73, 0, 0, 3), +(@CGUID+73, @CGUID+74, 2, 0, 515), +(@CGUID+73, @CGUID+75, 2, 72, 515), +(@CGUID+73, @CGUID+76, 2, 144, 515), +(@CGUID+73, @CGUID+77, 2, 216, 515), +(@CGUID+73, @CGUID+78, 2, 288, 515), +(@CGUID+79, @CGUID+79, 0, 0, 3), +(@CGUID+79, @CGUID+80, 2, 0, 515), +(@CGUID+79, @CGUID+81, 2, 72, 515), +(@CGUID+79, @CGUID+82, 2, 144, 515), +(@CGUID+79, @CGUID+83, 2, 216, 515), +(@CGUID+79, @CGUID+84, 2, 288, 515), +(@CGUID+128, @CGUID+128, 0, 0, 3), +(@CGUID+128, @CGUID+129, 3, 90, 515), +(@CGUID+128, @CGUID+130, 3, 270, 515), +(@CGUID+125, @CGUID+125, 0, 0, 3), +(@CGUID+125, @CGUID+126, 3, 90, 515), +(@CGUID+125, @CGUID+127, 3, 270, 515), +(@CGUID+180, @CGUID+180, 0, 0, 3), +(@CGUID+180, @CGUID+181, 3, 90, 515), +(@CGUID+180, @CGUID+182, 3, 270, 515); + +DELETE FROM `creature_formations` WHERE `memberGUID` IN (@CGUID+006,@CGUID+007,@CGUID+010,@CGUID+011,@CGUID+012,@CGUID+013,@CGUID+014,@CGUID+015,@CGUID+016,@CGUID+017,@CGUID+018,@CGUID+008,@CGUID+009,@CGUID+019,@CGUID+023,@CGUID+021,@CGUID+022,@CGUID+020,@CGUID+024,@CGUID+027,@CGUID+025,@CGUID+028,@CGUID+026,@CGUID+029,@CGUID+032,@CGUID+030,@CGUID+033,@CGUID+031,@CGUID+034,@CGUID+035,@CGUID+036,@CGUID+037,@CGUID+038,@CGUID+039,@CGUID+040,@CGUID+041,@CGUID+094,@CGUID+095,@CGUID+096,@CGUID+097,@CGUID+121,@CGUID+122,@CGUID+123,@CGUID+124,@CGUID+131,@CGUID+134,@CGUID+132,@CGUID+135,@CGUID+133,@CGUID+136,@CGUID+137,@CGUID+138,@CGUID+139,@CGUID+140,@CGUID+141,@CGUID+142,@CGUID+175,@CGUID+176,@CGUID+177,@CGUID+178,@CGUID+183,@CGUID+184,@CGUID+192,@CGUID+193,@CGUID+046,@CGUID+047,@CGUID+048,@CGUID+148,@CGUID+149,@CGUID+150,@CGUID+151,@CGUID+152,@CGUID+143,@CGUID+144,@CGUID+145,@CGUID+147,@CGUID+146,@CGUID+153,@CGUID+155,@CGUID+157,@CGUID+154,@CGUID+156,@CGUID+158,@CGUID+159,@CGUID+160,@CGUID+161,@CGUID+162); +INSERT INTO `creature_formations` (`memberGUID`, `leaderGUID`, `groupAI`) VALUES +(@CGUID+006,@CGUID+006,3), +(@CGUID+007,@CGUID+006,3), +(@CGUID+011,@CGUID+011,3), +(@CGUID+012,@CGUID+011,3), +(@CGUID+013,@CGUID+013,3), +(@CGUID+014,@CGUID+013,3), +(@CGUID+015,@CGUID+015,3), +(@CGUID+016,@CGUID+015,3), +(@CGUID+017,@CGUID+017,3), +(@CGUID+018,@CGUID+017,3), +(@CGUID+008,@CGUID+008,3), +(@CGUID+009,@CGUID+008,3), +(@CGUID+019,@CGUID+019,3), +(@CGUID+023,@CGUID+019,3), +(@CGUID+021,@CGUID+019,3), +(@CGUID+022,@CGUID+019,3), +(@CGUID+020,@CGUID+019,3), +(@CGUID+024,@CGUID+024,3), +(@CGUID+027,@CGUID+024,3), +(@CGUID+025,@CGUID+024,3), +(@CGUID+028,@CGUID+024,3), +(@CGUID+026,@CGUID+024,3), +(@CGUID+029,@CGUID+029,3), +(@CGUID+032,@CGUID+029,3), +(@CGUID+030,@CGUID+029,3), +(@CGUID+033,@CGUID+029,3), +(@CGUID+031,@CGUID+029,3), +(@CGUID+034,@CGUID+029,3), +(@CGUID+035,@CGUID+035,3), +(@CGUID+036,@CGUID+035,3), +(@CGUID+037,@CGUID+035,3), +(@CGUID+038,@CGUID+035,3), +(@CGUID+039,@CGUID+035,3), +(@CGUID+040,@CGUID+035,3), +(@CGUID+041,@CGUID+035,3), +(@CGUID+094,@CGUID+094,3), +(@CGUID+095,@CGUID+094,3), +(@CGUID+096,@CGUID+094,3), +(@CGUID+097,@CGUID+094,3), +(@CGUID+121,@CGUID+121,3), +(@CGUID+122,@CGUID+121,3), +(@CGUID+123,@CGUID+121,3), +(@CGUID+124,@CGUID+121,3), +(@CGUID+131,@CGUID+131,3), +(@CGUID+134,@CGUID+131,3), +(@CGUID+132,@CGUID+131,3), +(@CGUID+135,@CGUID+131,3), +(@CGUID+133,@CGUID+131,3), +(@CGUID+136,@CGUID+131,3), +(@CGUID+137,@CGUID+137,3), +(@CGUID+138,@CGUID+137,3), +(@CGUID+139,@CGUID+137,3), +(@CGUID+140,@CGUID+137,3), +(@CGUID+141,@CGUID+137,3), +(@CGUID+142,@CGUID+137,3), +(@CGUID+175,@CGUID+175,3), +(@CGUID+176,@CGUID+175,3), +(@CGUID+177,@CGUID+177,3), +(@CGUID+178,@CGUID+177,3), +(@CGUID+183,@CGUID+183,3), +(@CGUID+184,@CGUID+183,3), +(@CGUID+192,@CGUID+192,3), +(@CGUID+193,@CGUID+192,3), +(@CGUID+046,@CGUID+046,3), +(@CGUID+047,@CGUID+046,3), +(@CGUID+048,@CGUID+046,3), +(@CGUID+148,@CGUID+148,3), +(@CGUID+149,@CGUID+148,3), +(@CGUID+150,@CGUID+148,3), +(@CGUID+151,@CGUID+148,3), +(@CGUID+152,@CGUID+148,3), +(@CGUID+143,@CGUID+143,3), +(@CGUID+144,@CGUID+143,3), +(@CGUID+145,@CGUID+143,3), +(@CGUID+147,@CGUID+143,3), +(@CGUID+146,@CGUID+143,3), +(@CGUID+153,@CGUID+153,3), +(@CGUID+155,@CGUID+153,3), +(@CGUID+157,@CGUID+153,3), +(@CGUID+154,@CGUID+153,3), +(@CGUID+156,@CGUID+153,3), +(@CGUID+158,@CGUID+158,3), +(@CGUID+159,@CGUID+158,3), +(@CGUID+160,@CGUID+158,3), +(@CGUID+161,@CGUID+158,3), +(@CGUID+162,@CGUID+158,3); diff --git a/src/server/game/Spells/SpellInfoCorrections.cpp b/src/server/game/Spells/SpellInfoCorrections.cpp index 6a4dd4a68..f31cd691c 100644 --- a/src/server/game/Spells/SpellInfoCorrections.cpp +++ b/src/server/game/Spells/SpellInfoCorrections.cpp @@ -4453,7 +4453,7 @@ void SpellMgr::LoadSpellInfoCorrections() }); // Self Visual - Sleep Until Cancelled(DND) - ApplySpellFix({ 6606, 14915 }, [](SpellInfo* spellInfo) + ApplySpellFix({ 6606, 14915, 16093 }, [](SpellInfo* spellInfo) { spellInfo->AuraInterruptFlags &= ~AURA_INTERRUPT_FLAG_NOT_SEATED; }); From 5e9e8e2abda06d02b016fe47b516b1f1ff5ac7c2 Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Sat, 22 Apr 2023 13:15:00 +0000 Subject: [PATCH 09/27] chore(DB): import pending files Referenced commit(s): 3dc7a89ad2640c2125ec2db5a34ab9af8b706cd6 --- .../2023_04_22_00.sql} | 1 + .../rev_1677147108487825000.sql => db_world/2023_04_22_00.sql} | 1 + .../rev_1679137018378727600.sql => db_world/2023_04_22_01.sql} | 1 + .../rev_1680974634766349300.sql => db_world/2023_04_22_02.sql} | 1 + .../rev_1681942737921129600.sql => db_world/2023_04_22_03.sql} | 1 + .../rev_1682120419110815800.sql => db_world/2023_04_22_04.sql} | 1 + .../rev_1682123448347196000.sql => db_world/2023_04_22_05.sql} | 1 + 7 files changed, 7 insertions(+) rename data/sql/updates/{pending_db_characters/rev_1670536705725900100.sql => db_characters/2023_04_22_00.sql} (72%) rename data/sql/updates/{pending_db_world/rev_1677147108487825000.sql => db_world/2023_04_22_00.sql} (77%) rename data/sql/updates/{pending_db_world/rev_1679137018378727600.sql => db_world/2023_04_22_01.sql} (72%) rename data/sql/updates/{pending_db_world/rev_1680974634766349300.sql => db_world/2023_04_22_02.sql} (99%) rename data/sql/updates/{pending_db_world/rev_1681942737921129600.sql => db_world/2023_04_22_03.sql} (63%) rename data/sql/updates/{pending_db_world/rev_1682120419110815800.sql => db_world/2023_04_22_04.sql} (99%) rename data/sql/updates/{pending_db_world/rev_1682123448347196000.sql => db_world/2023_04_22_05.sql} (67%) diff --git a/data/sql/updates/pending_db_characters/rev_1670536705725900100.sql b/data/sql/updates/db_characters/2023_04_22_00.sql similarity index 72% rename from data/sql/updates/pending_db_characters/rev_1670536705725900100.sql rename to data/sql/updates/db_characters/2023_04_22_00.sql index 7e4fe9fef..1ce60adf6 100644 --- a/data/sql/updates/pending_db_characters/rev_1670536705725900100.sql +++ b/data/sql/updates/db_characters/2023_04_22_00.sql @@ -1,3 +1,4 @@ +-- DB update 2023_03_04_00 -> 2023_04_22_00 -- ALTER TABLE `characters` ADD COLUMN `extraBonusTalentCount` INT NOT NULL DEFAULT '0' AFTER `innTriggerId`; diff --git a/data/sql/updates/pending_db_world/rev_1677147108487825000.sql b/data/sql/updates/db_world/2023_04_22_00.sql similarity index 77% rename from data/sql/updates/pending_db_world/rev_1677147108487825000.sql rename to data/sql/updates/db_world/2023_04_22_00.sql index 761a44ba3..4276a5f0b 100644 --- a/data/sql/updates/pending_db_world/rev_1677147108487825000.sql +++ b/data/sql/updates/db_world/2023_04_22_00.sql @@ -1,2 +1,3 @@ +-- DB update 2023_04_21_00 -> 2023_04_22_00 -- Tamed Kodo - Remove gossip flag & gosip menu. UPDATE `creature_template` SET `npcflag` = `npcflag`&~(1),`gossip_menu_id` = 0 WHERE `entry` = 11627; diff --git a/data/sql/updates/pending_db_world/rev_1679137018378727600.sql b/data/sql/updates/db_world/2023_04_22_01.sql similarity index 72% rename from data/sql/updates/pending_db_world/rev_1679137018378727600.sql rename to data/sql/updates/db_world/2023_04_22_01.sql index 67b1920d9..e06894fc8 100644 --- a/data/sql/updates/pending_db_world/rev_1679137018378727600.sql +++ b/data/sql/updates/db_world/2023_04_22_01.sql @@ -1,2 +1,3 @@ +-- DB update 2023_04_22_00 -> 2023_04_22_01 -- DELETE FROM `spell_script_names` WHERE `ScriptName` IN ('spell_dru_insect_swarm', 'spell_dru_idol_lifebloom'); diff --git a/data/sql/updates/pending_db_world/rev_1680974634766349300.sql b/data/sql/updates/db_world/2023_04_22_02.sql similarity index 99% rename from data/sql/updates/pending_db_world/rev_1680974634766349300.sql rename to data/sql/updates/db_world/2023_04_22_02.sql index bdfe4175c..4c30e64d0 100644 --- a/data/sql/updates/pending_db_world/rev_1680974634766349300.sql +++ b/data/sql/updates/db_world/2023_04_22_02.sql @@ -1,3 +1,4 @@ +-- DB update 2023_04_22_01 -> 2023_04_22_02 -- DELETE FROM `creature` WHERE `map` = 540 AND `id1` IN (20923,16507,16594,16699,16700,16704,16807,16808,16809,17083,17420,17427,17461,17464,17465,17669,17670,17694,17671,16593,17695,17622,17356,17357,17474,17578) AND `guid` IN (34038,57220,57221,57222,57223,57581,57582,57583,57584,57686,57687,57688,57689,57690,57691,57692,57693,57694,57695,57696,57698,57699,57700,57853,57854,57855,59474,59475,59476,59477,62864,62865,62866,62867,62871,62872,62873,62921,62934,62935,62936,62937,62938,62939,62940,62941,62942,62943,62944,62945,62946,62947,62948,62949,62952,62953,62954,62955,63390,63391,63392,63446,63447,85746,85747,85748,85749,85750,85751,85752,85753,86366,86368,86369,86370,86423,86427,86452,86453,86454,86455,86456,86457,86458,86459,86460,86461,86462,86463,86464,86465,86466,1971542,1971543,1971544,1971545,1971546,1971547,1971548,1971549,1971550,1971551,1971552,1971553,1971554,1971555,1971556,1971557,1971558,1971559,1971560,1971561,1971562,1971563,1971564,1971565,1971566,1971567,1971568,1971569,1971570,1971571,1971572,1971573,1971574,1971575,1971576,1971580,2000102,2000103,2000104,2000105,2000106,2000107); DELETE FROM `creature_addon` WHERE `guid` IN (57693,62952,62953,62954,62955); diff --git a/data/sql/updates/pending_db_world/rev_1681942737921129600.sql b/data/sql/updates/db_world/2023_04_22_03.sql similarity index 63% rename from data/sql/updates/pending_db_world/rev_1681942737921129600.sql rename to data/sql/updates/db_world/2023_04_22_03.sql index 07989598e..47bd4a0b1 100644 --- a/data/sql/updates/pending_db_world/rev_1681942737921129600.sql +++ b/data/sql/updates/db_world/2023_04_22_03.sql @@ -1,3 +1,4 @@ +-- DB update 2023_04_22_02 -> 2023_04_22_03 -- UPDATE `creature_template` SET `detection_range`=60 WHERE `entry`=15691; diff --git a/data/sql/updates/pending_db_world/rev_1682120419110815800.sql b/data/sql/updates/db_world/2023_04_22_04.sql similarity index 99% rename from data/sql/updates/pending_db_world/rev_1682120419110815800.sql rename to data/sql/updates/db_world/2023_04_22_04.sql index fd6c51eb7..f1a9cd1ac 100644 --- a/data/sql/updates/pending_db_world/rev_1682120419110815800.sql +++ b/data/sql/updates/db_world/2023_04_22_04.sql @@ -1,3 +1,4 @@ +-- DB update 2023_04_22_03 -> 2023_04_22_04 -- DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-146209, -146210)); 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES diff --git a/data/sql/updates/pending_db_world/rev_1682123448347196000.sql b/data/sql/updates/db_world/2023_04_22_05.sql similarity index 67% rename from data/sql/updates/pending_db_world/rev_1682123448347196000.sql rename to data/sql/updates/db_world/2023_04_22_05.sql index 6c67ce7d5..7719264bf 100644 --- a/data/sql/updates/pending_db_world/rev_1682123448347196000.sql +++ b/data/sql/updates/db_world/2023_04_22_05.sql @@ -1,2 +1,3 @@ +-- DB update 2023_04_22_04 -> 2023_04_22_05 -- UPDATE `creature_loot_template` SET `MaxCount`=1 WHERE `Entry`=18633 AND `Item`=29740; From 309f5c4adfb69a99581f494cd92832ca8304d991 Mon Sep 17 00:00:00 2001 From: Timothy Vaccarelli Date: Sat, 22 Apr 2023 09:22:34 -0400 Subject: [PATCH 10/27] fix(DB/SAI): Use SAI for Spitelash Naga in Azshara (#15808) * Add SAI for Spitelash Naga in Azshara --- .../rev_1680558670650517834.sql | 73 +++++++++++++++ src/server/scripts/Kalimdor/zone_azshara.cpp | 92 ------------------- 2 files changed, 73 insertions(+), 92 deletions(-) create mode 100644 data/sql/updates/pending_db_world/rev_1680558670650517834.sql diff --git a/data/sql/updates/pending_db_world/rev_1680558670650517834.sql b/data/sql/updates/pending_db_world/rev_1680558670650517834.sql new file mode 100644 index 000000000..2dd818cbf --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1680558670650517834.sql @@ -0,0 +1,73 @@ +DELETE FROM `smart_scripts` WHERE `entryorguid` = 619300 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES + (619300,9,0,0,0,0,100,0,4000,4000,0,0,0,11,28406,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash - On Script - Cast Polymorph Backfire'), + (619300,9,1,0,0,0,100,0,0,0,0,0,0,103,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash - On Script - root'), + (619300,9,2,0,0,0,100,0,0,0,0,0,0,3,0,11686,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash - On Script - morph'), + (619300,9,3,0,0,0,100,0,0,0,0,0,0,11,60034,64,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash - On Script - Cast smoke'), + (619300,9,4,0,0,0,100,0,1000,1000,0,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash - On Script - Despawn'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 6190 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(6190,0,0,0,8,0,100,1,118,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Warrior - On Spellhit \'Polymorph\' - Run Script'), +(6190,0,1,0,8,0,100,1,12824,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Warrior - On Spellhit \'Polymorph\' - Run Script'), +(6190,0,2,0,8,0,100,1,12825,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Warrior - On Spellhit \'Polymorph\' - Run Script'), +(6190,0,3,0,8,0,100,1,12826,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Warrior - On Spellhit \'Polymorph\' - Run Script'), +(6190,0,4,0,0,0,100,0,6000,9000,11000,15000,0,11,6713,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Spitelash Warrior - In Combat - Cast Disarm'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 6193 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(6193,0,0,0,8,0,100,1,118,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Screamer - On Spellhit \'Polymorph\' - Run Script'), +(6193,0,1,0,8,0,100,1,12824,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Screamer - On Spellhit \'Polymorph\' - Run Script'), +(6193,0,2,0,8,0,100,1,12825,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Screamer - On Spellhit \'Polymorph\' - Run Script'), +(6193,0,3,0,8,0,100,1,12826,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Screamer - On Spellhit \'Polymorph\' - Run Script'), +(6193,0,4,0,0,0,100,0,7000,9000,12000,15000,0,11,3589,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Screamer - In Combat - Cast Deafening Screech'), +(6193,0,5,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'Spitelash Screamer - Between 0-15% Health - Flee For Assist (No Repeat)'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 6194 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(6194,0,0,0,8,0,100,1,118,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Serpent Guard - On Spellhit \'Polymorph\' - Run Script'), +(6194,0,1,0,8,0,100,1,12824,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Serpent Guard - On Spellhit \'Polymorph\' - Run Script'), +(6194,0,2,0,8,0,100,1,12825,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Serpent Guard - On Spellhit \'Polymorph\' - Run Script'), +(6194,0,3,0,8,0,100,1,12826,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Serpent Guard - On Spellhit \'Polymorph\' - Run Script'), +(6194,0,4,0,0,0,100,0,6000,8000,9000,13000,0,11,25710,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Spitelash Serpent Guard - In Combat - Cast Heroic Strike'), +(6194,0,5,0,13,0,100,0,20000,30000,0,0,0,11,34783,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Serpent Guard - Target Casting - Cast Spell Reflection'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 6195 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(6195,0,0,0,8,0,100,1,118,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Siren - On Spellhit \'Polymorph\' - Run Script'), +(6195,0,1,0,8,0,100,1,12824,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Siren - On Spellhit \'Polymorph\' - Run Script'), +(6195,0,2,0,8,0,100,1,12825,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Siren - On Spellhit \'Polymorph\' - Run Script'), +(6195,0,3,0,8,0,100,1,12826,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Siren - On Spellhit \'Polymorph\' - Run Script'), +(6195,0,4,0,0,0,100,0,0,0,2300,3900,0,11,6660,64,0,0,0,0,2,0,0,0,0,0,0,0,0,'Spitelash Siren - In Combat - Cast Shoot'), +(6195,0,5,0,0,0,100,0,3000,5000,12000,16000,0,11,12551,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Spitelash Siren - In Combat - Cast Frost Shot'), +(6195,0,6,0,9,0,100,0,0,8,13000,15000,0,11,11831,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Siren - Within 0-8 Range - Cast Frost Nova'), +(6195,0,7,0,74,0,100,0,0,50,12000,17000,40,11,11640,0,0,0,0,0,7,0,0,0,0,0,0,0,0,'Spitelash Siren - On Friendly Between 0-50% Health - Cast \'Renew\''), +(6195,0,8,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'Spitelash Siren - Between 0-15% Health - Flee For Assist (No Repeat)'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 6196 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(6196,0,0,0,8,0,100,1,118,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Myrmidon - On Spellhit \'Polymorph\' - Run Script'), +(6196,0,1,0,8,0,100,1,12824,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Myrmidon - On Spellhit \'Polymorph\' - Run Script'), +(6196,0,2,0,8,0,100,1,12825,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Myrmidon - On Spellhit \'Polymorph\' - Run Script'), +(6196,0,3,0,8,0,100,1,12826,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Myrmidon - On Spellhit \'Polymorph\' - Run Script'), +(6196,0,4,0,0,0,100,0,5000,7000,6000,9000,0,11,11976,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Spitelash Myrmidon - In Combat - Cast Strike'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 7885 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(7885,0,0,0,8,0,100,1,118,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Battlemaster - On Spellhit \'Polymorph\' - Run Script'), +(7885,0,1,0,8,0,100,1,12824,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Battlemaster - On Spellhit \'Polymorph\' - Run Script'), +(7885,0,2,0,8,0,100,1,12825,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Battlemaster - On Spellhit \'Polymorph\' - Run Script'), +(7885,0,3,0,8,0,100,1,12826,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Battlemaster - On Spellhit \'Polymorph\' - Run Script'), +(7885,0,4,0,9,0,100,1,5,30,0,0,0,11,22120,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Spitelash Battlemaster - Within 5-30 Range - Cast Charge (No Repeat)'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 7886 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(7886,0,0,0,8,0,100,1,118,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Enchantress - On Spellhit \'Polymorph\' - Run Script'), +(7886,0,1,0,8,0,100,1,12824,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Enchantress - On Spellhit \'Polymorph\' - Run Script'), +(7886,0,2,0,8,0,100,1,12825,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Enchantress - On Spellhit \'Polymorph\' - Run Script'), +(7886,0,3,0,8,0,100,1,12826,0,0,0,0,80,619300,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Enchantress - On Spellhit \'Polymorph\' - Run Script'), +(7886,0,4,0,0,0,100,0,0,0,2400,3800,0,11,15790,64,0,0,0,0,2,0,0,0,0,0,0,0,0,'Spitelash Enchantress - In Combat - Cast Arcane Missiles'), +(7886,0,5,0,0,0,100,0,5000,9000,18000,24000,0,11,3443,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash Enchantress - In Combat - Cast Enchanted Quickness'), +(7886,0,6,0,2,0,100,1,0,15,0,0,0,25,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'Spitelash Enchantress - Between 0-15% Health - Flee For Assist (No Repeat)'); + +UPDATE `creature_template` SET `ScriptName` = '', `AIName` = 'SmartAI' WHERE entry IN (6190,6193,6194,6195,6196,7885,7886); diff --git a/src/server/scripts/Kalimdor/zone_azshara.cpp b/src/server/scripts/Kalimdor/zone_azshara.cpp index c29bb285c..198feaf3d 100644 --- a/src/server/scripts/Kalimdor/zone_azshara.cpp +++ b/src/server/scripts/Kalimdor/zone_azshara.cpp @@ -23,7 +23,6 @@ SDCategory: Azshara EndScriptData */ /* ContentData -npc_spitelashes npc_rizzle_sprysprocket npc_depth_charge EndContentData */ @@ -34,96 +33,6 @@ EndContentData */ #include "ScriptedGossip.h" #include "SpellInfo.h" -/*###### -## npc_spitelashes -######*/ - -enum Spitelashes -{ - SPELL_POLYMORPH_RANK1 = 118, - SPELL_POLYMORPH_RANK2 = 12824, - SPELL_POLYMORPH_RANK3 = 12825, - SPELL_POLYMORPH_RANK4 = 12826, - SPELL_POLYMORPH = 29124, - SPELL_POLYMORPH_BACKFIRE = 28406, - SPELL_REMOVE_POLYMORPH = 6924 -}; - -class npc_spitelashes : public CreatureScript -{ -public: - npc_spitelashes() : CreatureScript("npc_spitelashes") { } - - struct npc_spitelashesAI : public ScriptedAI - { - npc_spitelashesAI(Creature* creature) : ScriptedAI(creature) { } - - uint32 morphtimer; - bool spellhit; - - void Reset() override - { - morphtimer = 0; - spellhit = false; - } - - void JustEngagedWith(Unit* /*who*/) override { } - - void SpellHit(Unit* unit, SpellInfo const* spell) override - { - if (spellhit) - return; - - switch (spell->Id) - { - case SPELL_POLYMORPH_RANK1: - case SPELL_POLYMORPH_RANK2: - case SPELL_POLYMORPH_RANK3: - case SPELL_POLYMORPH_RANK4: - if (Player* player = unit->ToPlayer()) - if (player->GetQuestStatus(9364) == QUEST_STATUS_INCOMPLETE) - { - spellhit = true; - DoCast(me, SPELL_POLYMORPH); - } - break; - default: - break; - } - } - - void UpdateAI(uint32 diff) override - { - // we mustn't remove the Creature in the same round in which we cast the summon spell, otherwise there will be no summons - if (spellhit && morphtimer >= 5000) - { - me->DespawnOrUnsummon(); - return; - } - // walk 5 seconds before summoning - if (spellhit && morphtimer < 5000) - { - morphtimer += diff; - if (morphtimer >= 5000) - { - DoCast(me, SPELL_POLYMORPH_BACKFIRE); // summon copies - DoCast(me, SPELL_REMOVE_POLYMORPH); // visual explosion - } - } - if (!UpdateVictim()) - return; - - /// @todo add abilities for the different creatures - DoMeleeAttackIfReady(); - } - }; - - CreatureAI* GetAI(Creature* creature) const override - { - return new npc_spitelashesAI(creature); - } -}; - /*#### # npc_rizzle_sprysprocket ####*/ @@ -460,7 +369,6 @@ public: void AddSC_azshara() { - new npc_spitelashes(); new npc_rizzle_sprysprocket(); new npc_depth_charge(); } From 2015120609c98eccd61ca958b636bf511e275302 Mon Sep 17 00:00:00 2001 From: ICXCNIKA <84076297+ohkasdasf@users.noreply.github.com> Date: Sat, 22 Apr 2023 15:23:11 +0200 Subject: [PATCH 11/27] fix(DB/Locale): deDE fixes for achievement reward (#15302) * fix(DB/Locale): deDE fixes for achievement reward Co-authored-by: 55Honey <71938210+55Honey@users.noreply.github.com> --------- Co-authored-by: 55Honey <71938210+55Honey@users.noreply.github.com> --- .../fix-achievement-reward-locale.sql | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 data/sql/updates/pending_db_world/fix-achievement-reward-locale.sql diff --git a/data/sql/updates/pending_db_world/fix-achievement-reward-locale.sql b/data/sql/updates/pending_db_world/fix-achievement-reward-locale.sql new file mode 100644 index 000000000..87160bae5 --- /dev/null +++ b/data/sql/updates/pending_db_world/fix-achievement-reward-locale.sql @@ -0,0 +1,17 @@ +DELETE FROM `achievement_reward_locale` WHERE `ID` IN (13, 45, 614, 876, 1250, 1956, 2096, 2143, 3478, 3656, 4478, 4602, 4603, 4784, 4785) AND `locale` = 'deDE'; +INSERT INTO `achievement_reward_locale` (`ID`, `Locale`, `Subject`, `Text`) VALUES +(13, 'deDE', 'Stufe 80', 'Herzlichen Glückwunsch zu Eurem Erreichen der 80. Abenteuersaison! Ihr habt Euch zweifelsohne der Sache verschrieben, Azeroth von den Übeln zu befreien, die uns geplagt haben.$B$BUnd obwohl die bisherige Reise keine Kleinigkeit war, steht der wahre Kampf noch bevor.$B$BKämpft weiter!$B$BRhonin'), +(45, 'deDE', 'Ihr seid rumgekommen!', 'Nun seht Euch mal an!$B$BUnd ich dachte, ich hätte hier an diesem eisigen Ort schon einiges gesehen! Diesem Zwerg scheint es offensichtlich, dass das Feuer eines Forschers in Euren Augen brennt.$B$BTragt diesen Wappenrock mit Stolz, dann wissen Eure Freunde, wen sie nach dem Weg fragen müssen, wenn die Zeit gekommen ist!$B$BMacht weiter so!$B$BBrann Bronzebart'), +(614, 'deDE', 'Für die Allianz!', 'Krieg wütet in unseren Ländern. Nur die tapfersten aller Helden wagen es, der Horde dort einen Schlag zu versetzen, wo es wehtut. Ihr gehört zu eben diesen Helden.$B$BDer Schlag, den Ihr der Führung der Horde versetzt habt, bereitet den Weg für unseren letzten Angriff. Die Horde wird sich vor der Macht der Allianz verbeugen.$B$BEure Taten bleiben nicht ungewürdigt. Reitet mit Stolz!$B$B--Euer König'), +(876, 'deDE', 'Brutaler Kämpfer', 'Ihr habt ein ganz schönes Händchen dafür Euch in diese Arena zu werfen. Nehmt dies. Tragt es mit Stolz. Jetzt geht wieder rein und zeigt ihnen, wie es gemacht wird! $B$BOnkel Sal'), +(1250, 'deDE', 'Stinkers neues Zuhause', 'Ich habe gehört, wie gut Ihr Euch um unsere pelzigen Freunde kümmert. Ich hoffe, es macht Euch nichts aus, aber ich muss Stinker ein neues Zuhause verschaffen. Er weigert sich einfach, friedlich mit den Anderen zu spielen.$B$BBitte stellt sicher, dass er zweimal täglich gefüttert wird. Und, ähm... er hat eine Schwäche für schwarze Katzen.$B$B--Breanni'), +(1956, 'deDE', 'Höheres Studium', 'Herzlichen Glückwunsch zu Eurem Abschluss in den Schulen der arkanen Magie. In Anerkennung Eurer Hingabe lege ich diesen speziellen Buchband bei, der die Serie vervollständigt.$B$BIch denke, dass Ihr diesen Folianten sehr unterhaltsam finden werdet. Doch das dürft Ihr selbst entscheiden.$B$BHochachtungsvoll,$B$BRhonin'), +(2096, 'deDE', 'Der Münzmeister', 'Grüße und Glückwünsche dazu, dass Ihr das gesamte Set der Dalaranmünzen gesammelt habt! Als Belohnung Eurer harten Arbeit habe ich diesem Schreiben ein frisch geprägtes Titansiegel von Dalaran beigelegt. Dies ist eine besondere Münze, die wir nur den leidenschaftlichsten aller Sammler verleihen.$B$BIch hoffe, Ihr findet Freude an dieser speziellen Belohnung. Ihr habt Sie Euch verdient!$B$BHochachtungsvoll,$B$BJepetto Spaßbrumm'), +(2143, 'deDE', 'Vorreiter der Kavallerie', 'Ich konnte nicht umhin, zu sehen wie gut Ihr mit Tieren umgeht. Bei allem was hier vorgeht, laufen meine Geschäfte besser denn je.$B$BIch nehme nicht an, dass es Euch etwas ausmacht, für mich auf diesen Albinodrachen aufzupassen? Ich habe einfach nicht genug Zeit, mich um all diese Tiere zu kümmern.$B$BViele Grüße.$B$BMei'), +(3478, 'deDE', 'Der vergessene Puter', 'Könnt Ihr begreifen, wie es dieser fette Truthahn lebendig durch den November geschafft hat?!$B$BAlle seine Freunde sind auf den reich gedeckten Tischen serviert worden. Mit Moosbeerenchutney und Gewürzbrotfüllung und... OOOH... jetzt bekomme ich Hunger. Egal! Er ist jetzt ganz allein. Deswegen habe ich überlegt, ob Ihr Euch vielleicht um Ihn kümmern würdet. In meinem Laden ist einfach nicht mehr genug Platz für ihn!$B$BHaltet ihn nur bitte von Kochstellen fern. Er bekommt in ihrer Nähe immer so einen merkwürdigen Blick...$B$B--Breanni'), +(3656, 'deDE', 'Der vergessene Puter', 'Könnt Ihr begreifen, wie es dieser fette Truthahn lebendig durch den November geschafft hat?!$B$BAlle seine Freunde sind auf den reich gedeckten Tischen serviert worden. Mit Moosbeerenchutney und Gewürzbrotfüllung und... OOOH... jetzt bekomme ich Hunger. Egal! Er ist jetzt ganz allein. Deswegen habe ich überlegt, ob Ihr Euch vielleicht um Ihn kümmern würdet. In meinem Laden ist einfach nicht mehr genug Platz für ihn!$B$BHaltet ihn nur bitte von Kochstellen fern. Er bekommt in ihrer Nähe immer so einen merkwürdigen Blick...$B$B--Breanni'), +(4478, 'deDE', 'Streuner', 'Werter Meister der Geduld, wir möchten Eure Beharrlichkeit belohnen, mit der Ihr immer wieder Dungeons mit Leuten betretet, die Ihr wahrscheinlich noch nie zuvor getroffen habt. Hoffentlich habt Ihr ein paar Jungspunden zeigen können, wie der Hase läuft.$B$BLange Rede, kurzer Sinn. Wir haben zufällig gehört, dass Ihr mit Zufallsgruppen herumstreunt. Und wie der Zufall so will ist hier also ein kleiner Streuner, den wir Euch zufallen lassen, um mit Euch zu streunen, während Ihr zufälligen Zufällen zufallt, oder so.$B$BKnuddels.$B$BEure Freunde beim Entwickler-Team von WoW'), +(4602, 'deDE', 'Ruhm des Schlachtzüglers von Eiskrone', '$N,$B$BAls der Einfluss des Lichkönigs schwand, haben sich einige seiner mächtigeren Schergen aus seinem Griff befreit.$B$BDieser von meinen Männern gefangen genommene Frostwyrmdrache ist ein Paradebeispiel dafür. Sie hat einen eigenen Willen und noch mehr.$B$BEiner meiner Männer verlor einen Arm als er sie einritt, aber sie kann jetzt recht gut mit Reitern umgehen - vorausgesetzt Ihr seid geschickt und habt einen starken Willen.$B$BBitte nehmt diese prächtige Bestie als Geschenk der Ritter der Schwarzen Klinge an. Es war mir eine Ehre, an Eurer Seite in der größten aller Schlachten zu kämpfen.$B$BHochachtungsvoll,$BDarion Mograine.'), +(4603, 'deDE', 'Ruhm des Schlachtzüglers von Eiskrone', '$N,$B$BAls der Einfluss des Lichkönigs schwand, haben sich einige seiner mächtigeren Schergen aus seinem Griff befreit.$B$BDieser von meinen Männern gefangen genommene Frostwyrmdrache ist ein Paradebeispiel dafür. Sie hat einen eigenen Willen und noch mehr.$B$BEiner meiner Männer verlor einen Arm als er sie einritt, aber sie kann jetzt recht gut mit Reitern umgehen - vorausgesetzt Ihr seid geschickt und habt einen starken Willen.$B$BBitte nehmt diese prächtige Bestie als Geschenk der Ritter der Schwarzen Klinge an. Es war mir eine Ehre, an Eurer Seite in der größten aller Schlachten zu kämpfen.$B$BHochachtungsvoll,$BDarion Mograine.'), +(4784, 'deDE', 'Emblemrüstmeister in Dalaran\'s Silbernen Enklave', 'Eure Erfolge in Nordend sind nicht unbemerkt geblieben, Freund.$B$BDie verdienten Embleme können benutzt werden, um Gegenstände bei den verschiedenen Emblemrüstmeistern zu kaufen.$B$BIhr findet uns in der Silbernen Enklave, wo jede Emblemart einen eigenen Rüstmeister hat.$B$BWir freuen uns auf Eure Ankunft!'), +(4785, 'deDE', 'Emblemrüstmeister in Dalaran\'s Sonnenhäschers Zuflucht', 'Eure Erfolge in Nordend sind nicht unbemerkt geblieben, Freund.$B$BDie verdienten Embleme können benutzt werden, um Gegenstände bei den verschiedenen Emblemrüstmeistern zu kaufen.$B$BIhr findet uns in Sonnenhäschers Zuflucht, wo jede Emblemart einen eigenen Rüstmeister hat.$B$BWir freuen uns auf Eure Ankunft!'); From 7dc58cb159b78d74d00ae825d4f7e4b4806a5534 Mon Sep 17 00:00:00 2001 From: ZhengPeiRu21 <98835050+ZhengPeiRu21@users.noreply.github.com> Date: Sat, 22 Apr 2023 07:24:06 -0600 Subject: [PATCH 12/27] fix(DB/Loot): Darkwood Fishing Pole (#15639) --- .../rev_1680024512309807300.sql | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1680024512309807300.sql diff --git a/data/sql/updates/pending_db_world/rev_1680024512309807300.sql b/data/sql/updates/pending_db_world/rev_1680024512309807300.sql new file mode 100644 index 000000000..a2815cc8b --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1680024512309807300.sql @@ -0,0 +1,30 @@ +-- + +/* Does not drop from any other creatures */ +DELETE FROM `creature_loot_template` WHERE `Item` = 6366; +/* +By Managos (2,236 – 5·11) on 2021/03/18 (Classic) +After killing over 3,769 worgs in Tirisfal Glades, with stringy wolf meat x2000, +discolored worg hearts x2946, and many useless greens... I got my DARKWOOD POLE. +Now to say that its better than the quest pole for horde would be a lie, however.. +Its pretty neat to see. Good luck to those still grinding it out! +*/ +/* +By Karasukami on 2005/01/21 (Patch 1.2.1) +Subject: "hmm" +I have read that Bloodsnout Worgs in silverpine drop this.. +I guess I'll try and see if that is so. :\ +*/ +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(1765, 6366, 0.005, 0, 1, 1), -- Worg +(1766, 6366, 0.005, 0, 1, 1), -- Mottled Worg +(1923, 6366, 0.005, 0, 1, 1); -- Bloodsnout Worg + +/* +By bilcosby on 2006/08/11 (Patch 1.11.2) +Subject: "i got one" +i got one from a random mob in duskwood was a worg i was just running thro to get to ZG and i killed for fun and it droped +*/ +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Chance`, `GroupId`, `MinCount`, `MaxCount`) VALUES +(628, 6366, 0.005, 0, 1, 1), -- Black Ravager +(923, 6366, 0.005, 0, 1, 1); -- Young Black Ravager From abd29910c9db13b18655f6ce98e263fd596f4d94 Mon Sep 17 00:00:00 2001 From: avarishd <46330494+avarishd@users.noreply.github.com> Date: Sat, 22 Apr 2023 16:24:47 +0300 Subject: [PATCH 13/27] fix(DB/SAI): Outland Crumbling giants. (#15604) * fix(DB/SAI): Farahlon Giant/Breaker and Cragskaar. * Add Apex & Netherock * Apex and Netherock are with miscB 64 * remove EffectMiscValueB_1 update * correct Morcrush threshhold, its shardling and Crazed shardling --- .../rev_1679899428135820100.sql | 97 +++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1679899428135820100.sql diff --git a/data/sql/updates/pending_db_world/rev_1679899428135820100.sql b/data/sql/updates/pending_db_world/rev_1679899428135820100.sql new file mode 100644 index 000000000..3d013b41f --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1679899428135820100.sql @@ -0,0 +1,97 @@ +-- ID 18885 (Farahlon Giant) +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 18885; + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18885); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18885, 0, 0, 0, 2, 0, 100, 512, 0, 75, 0, 0, 0, 11, 36042, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Farahlon Giant - Between 0-75% Health - Cast \'Serverside - Summon Farahlon Crumbler\''), +(18885, 0, 1, 0, 2, 0, 100, 512, 0, 50, 0, 0, 0, 11, 36043, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Farahlon Giant - Between 0-50% Health - Cast \'Serverside - Summon Farahlon Crumbler\''), +(18885, 0, 2, 0, 2, 0, 100, 512, 0, 25, 0, 0, 0, 11, 36044, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Farahlon Giant - Between 0-25% Health - Cast \'Serverside - Summon Farahlon Crumbler\''); +-- 21077 (Farahlon Crumbler) +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 21077; + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 21077) 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(21077, 0, 0, 0, 1, 0, 100, 0, 15000, 15000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Farahlon Crumbler - Out of Combat - Despawn Instant'); + +-- ID 18886 (Farahlon Breaker) +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 18886; + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18886); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18886, 0, 0, 0, 2, 0, 100, 512, 0, 75, 0, 0, 0, 11, 36045, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Farahlon Breaker - Between 0-75% Health - Cast \'Serverside - Summon Farahlon Shardling\''), +(18886, 0, 1, 0, 2, 0, 100, 512, 0, 50, 0, 0, 0, 11, 36046, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Farahlon Breaker - Between 0-50% Health - Cast \'Serverside - Summon Farahlon Shardling\''), +(18886, 0, 2, 0, 2, 0, 100, 512, 0, 25, 0, 0, 0, 11, 36047, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Farahlon Breaker - Between 0-25% Health - Cast \'Serverside - Summon Farahlon Shardling\''); +-- ID 21078 (Farahlon Shardling) +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 21078; +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 21078) 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(21078, 0, 0, 0, 1, 0, 100, 0, 15000, 15000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Farahlon Shardling - Out of Combat - Despawn Instant'); + +-- ID 20202 (Cragskaar) +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 20202); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(20202, 0, 0, 0, 9, 0, 100, 0, 0, 10, 12000, 16000, 0, 11, 32959, 2, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Cragskaar - Within 0-10 Range - Cast \'Knock Away\''), +(20202, 0, 1, 0, 2, 0, 100, 512, 0, 90, 0, 0, 0, 11, 36048, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cragskaar - Between 0-90% Health - Cast \'Serverside - Summon Motherlode Shardling\''), +(20202, 0, 2, 0, 2, 0, 100, 512, 0, 60, 0, 0, 0, 11, 36049, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cragskaar - Between 0-60% Health - Cast \'Serverside - Summon Motherlode Shardling\''), +(20202, 0, 3, 0, 2, 0, 100, 512, 0, 30, 0, 0, 0, 11, 36050, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cragskaar - Between 0-30% Health - Cast \'Serverside - Summon Motherlode Shardling\''); +-- ID 21079 (Cragskaar Shardling) +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 21079; + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 21079) 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(21079, 0, 0, 0, 1, 0, 100, 0, 15000, 15000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cragskaar Shardling - Out of Combat - Despawn Instant'); + +-- ID 19940 (Apex) +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 19940; + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19940); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(19940, 0, 0, 0, 0, 0, 100, 0, 11900, 11900, 15000, 21200, 0, 11, 8078, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Apex - In Combat - Cast \'Thunderclap\''), +(19940, 0, 1, 0, 2, 0, 100, 512, 0, 75, 0, 0, 0, 11, 36595, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Apex - Between 0-75% Health - Cast \'Serverside - Summon Apex Crumbler\''), +(19940, 0, 2, 0, 2, 0, 100, 512, 0, 50, 0, 0, 0, 11, 36596, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Apex - Between 0-50% Health - Cast \'Serverside - Summon Apex Crumbler\''), +(19940, 0, 3, 0, 2, 0, 100, 512, 0, 25, 0, 0, 0, 11, 36597, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Apex - Between 0-25% Health - Cast \'Serverside - Summon Apex Crumbler\''); +-- ID 21328 (Apex Crumbler) +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 21328; + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 21328) 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(21328, 0, 0, 0, 1, 0, 100, 0, 15000, 15000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Apex Crumbler - Out of Combat - Despawn Instant'); + +-- ID 20772 (Netherock) +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 20772; + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 20772); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(20772, 0, 1, 0, 2, 0, 100, 512, 0, 75, 0, 0, 0, 11, 36579, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Netherock - Between 0-75% Health - Cast \'Serverside - Summon Netherock Crumbler\''), +(20772, 0, 2, 0, 2, 0, 100, 512, 0, 50, 0, 0, 0, 11, 36584, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Netherock - Between 0-50% Health - Cast \'Serverside - Summon Netherock Crumbler\''), +(20772, 0, 3, 0, 2, 0, 100, 512, 0, 25, 0, 0, 0, 11, 36585, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Netherock - Between 0-25% Health - Cast \'Serverside - Summon Netherock Crumbler\''); +-- ID 21323 (Netherock Crumbler) +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 21323; + +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 21323) 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(21323, 0, 0, 0, 1, 0, 100, 0, 15000, 15000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Netherock Crumbler - Out of Combat - Despawn Instant'); + +-- ID 18690 (Morcrush) +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18690); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18690, 0, 0, 0, 9, 0, 100, 0, 0, 5, 12000, 16000, 0, 11, 35238, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Morcrush - Within 0-5 Range - Cast \'War Stomp\''), +(18690, 0, 1, 0, 2, 0, 100, 512, 0, 75, 0, 0, 0, 11, 38888, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Morcrush - Between 0-75% Health - Cast \'Serverside - Summon Morcrush Shardling\''), +(18690, 0, 2, 0, 2, 0, 100, 512, 0, 50, 0, 0, 0, 11, 38889, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Morcrush - Between 0-50% Health - Cast \'Serverside - Summon Morcrush Shardling\''), +(18690, 0, 3, 0, 2, 0, 100, 512, 0, 25, 0, 0, 0, 11, 38890, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Morcrush - Between 0-25% Health - Cast \'Serverside - Summon Morcrush Shardling\''); +-- ID 22344 (Morcrush Shardling) +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 22344; + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 22344); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(22344, 0, 0, 0, 9, 0, 100, 0, 0, 10, 16000, 21000, 0, 11, 8078, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Morcrush Shardling - Within 0-10 Range - Cast \'Thunderclap\''), +(22344, 0, 1, 0, 2, 0, 100, 0, 0, 50, 0, 0, 0, 11, 34970, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Morcrush Shardling - Between 0-50% Health - Cast \'Frenzy\''), +(22344, 0, 2, 0, 1, 0, 100, 0, 60000, 60000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Morcrush Shardling - Out of Combat - Despawn Instant'); + +-- ID 21936 (Crazed Shardling) +UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 21936; + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 21936); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(21936, 0, 0, 0, 0, 0, 100, 0, 3000, 3000, 120000, 120000, 0, 11, 34970, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Crazed Shardling - In Combat - Cast \'Frenzy\''), +(21936, 0, 1, 0, 1, 0, 100, 0, 15000, 15000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Crazed Shardling - Out of Combat - Despawn Instant'); From a146bcb0e9ecc06ba48a1ef980c25699fd3a6ce9 Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Sat, 22 Apr 2023 13:27:11 +0000 Subject: [PATCH 14/27] chore(DB): import pending files Referenced commit(s): abd29910c9db13b18655f6ce98e263fd596f4d94 --- .../2023_04_22_06.sql} | 1 + .../rev_1679899428135820100.sql => db_world/2023_04_22_07.sql} | 1 + .../rev_1680024512309807300.sql => db_world/2023_04_22_08.sql} | 1 + .../rev_1680558670650517834.sql => db_world/2023_04_22_09.sql} | 1 + 4 files changed, 4 insertions(+) rename data/sql/updates/{pending_db_world/fix-achievement-reward-locale.sql => db_world/2023_04_22_06.sql} (99%) rename data/sql/updates/{pending_db_world/rev_1679899428135820100.sql => db_world/2023_04_22_07.sql} (99%) rename data/sql/updates/{pending_db_world/rev_1680024512309807300.sql => db_world/2023_04_22_08.sql} (96%) rename data/sql/updates/{pending_db_world/rev_1680558670650517834.sql => db_world/2023_04_22_09.sql} (99%) diff --git a/data/sql/updates/pending_db_world/fix-achievement-reward-locale.sql b/data/sql/updates/db_world/2023_04_22_06.sql similarity index 99% rename from data/sql/updates/pending_db_world/fix-achievement-reward-locale.sql rename to data/sql/updates/db_world/2023_04_22_06.sql index 87160bae5..9176ec2a5 100644 --- a/data/sql/updates/pending_db_world/fix-achievement-reward-locale.sql +++ b/data/sql/updates/db_world/2023_04_22_06.sql @@ -1,3 +1,4 @@ +-- DB update 2023_04_22_05 -> 2023_04_22_06 DELETE FROM `achievement_reward_locale` WHERE `ID` IN (13, 45, 614, 876, 1250, 1956, 2096, 2143, 3478, 3656, 4478, 4602, 4603, 4784, 4785) AND `locale` = 'deDE'; INSERT INTO `achievement_reward_locale` (`ID`, `Locale`, `Subject`, `Text`) VALUES (13, 'deDE', 'Stufe 80', 'Herzlichen Glückwunsch zu Eurem Erreichen der 80. Abenteuersaison! Ihr habt Euch zweifelsohne der Sache verschrieben, Azeroth von den Übeln zu befreien, die uns geplagt haben.$B$BUnd obwohl die bisherige Reise keine Kleinigkeit war, steht der wahre Kampf noch bevor.$B$BKämpft weiter!$B$BRhonin'), diff --git a/data/sql/updates/pending_db_world/rev_1679899428135820100.sql b/data/sql/updates/db_world/2023_04_22_07.sql similarity index 99% rename from data/sql/updates/pending_db_world/rev_1679899428135820100.sql rename to data/sql/updates/db_world/2023_04_22_07.sql index 3d013b41f..31a57b4af 100644 --- a/data/sql/updates/pending_db_world/rev_1679899428135820100.sql +++ b/data/sql/updates/db_world/2023_04_22_07.sql @@ -1,3 +1,4 @@ +-- DB update 2023_04_22_06 -> 2023_04_22_07 -- ID 18885 (Farahlon Giant) UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 18885; diff --git a/data/sql/updates/pending_db_world/rev_1680024512309807300.sql b/data/sql/updates/db_world/2023_04_22_08.sql similarity index 96% rename from data/sql/updates/pending_db_world/rev_1680024512309807300.sql rename to data/sql/updates/db_world/2023_04_22_08.sql index a2815cc8b..1c0e8256c 100644 --- a/data/sql/updates/pending_db_world/rev_1680024512309807300.sql +++ b/data/sql/updates/db_world/2023_04_22_08.sql @@ -1,3 +1,4 @@ +-- DB update 2023_04_22_07 -> 2023_04_22_08 -- /* Does not drop from any other creatures */ diff --git a/data/sql/updates/pending_db_world/rev_1680558670650517834.sql b/data/sql/updates/db_world/2023_04_22_09.sql similarity index 99% rename from data/sql/updates/pending_db_world/rev_1680558670650517834.sql rename to data/sql/updates/db_world/2023_04_22_09.sql index 2dd818cbf..bd1a542a3 100644 --- a/data/sql/updates/pending_db_world/rev_1680558670650517834.sql +++ b/data/sql/updates/db_world/2023_04_22_09.sql @@ -1,3 +1,4 @@ +-- DB update 2023_04_22_08 -> 2023_04_22_09 DELETE FROM `smart_scripts` WHERE `entryorguid` = 619300 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (619300,9,0,0,0,0,100,0,4000,4000,0,0,0,11,28406,2,0,0,0,0,1,0,0,0,0,0,0,0,0,'Spitelash - On Script - Cast Polymorph Backfire'), From 0667454dd968dcb369c1e7e23ff35b54bad29e8a Mon Sep 17 00:00:00 2001 From: ZhengPeiRu21 <98835050+ZhengPeiRu21@users.noreply.github.com> Date: Sat, 22 Apr 2023 07:42:00 -0600 Subject: [PATCH 15/27] feat: Allow Float Rep Values (#15818) --- data/sql/updates/pending_db_world/rev_1680618519958381600.sql | 3 +++ src/server/game/Globals/ObjectMgr.cpp | 4 ++-- src/server/game/Globals/ObjectMgr.h | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 data/sql/updates/pending_db_world/rev_1680618519958381600.sql diff --git a/data/sql/updates/pending_db_world/rev_1680618519958381600.sql b/data/sql/updates/pending_db_world/rev_1680618519958381600.sql new file mode 100644 index 000000000..2cacab38a --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1680618519958381600.sql @@ -0,0 +1,3 @@ +-- +ALTER TABLE `creature_onkill_reputation` MODIFY `RewOnKillRepValue1` FLOAT NOT NULL DEFAULT 0; +ALTER TABLE `creature_onkill_reputation` MODIFY `RewOnKillRepValue2` FLOAT NOT NULL DEFAULT 0; diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index e471dfa79..5f1221fec 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -7658,10 +7658,10 @@ void ObjectMgr::LoadReputationOnKill() repOnKill.RepFaction2 = fields[2].Get(); repOnKill.IsTeamAward1 = fields[3].Get(); repOnKill.ReputationMaxCap1 = fields[4].Get(); - repOnKill.RepValue1 = fields[5].Get(); + repOnKill.RepValue1 = fields[5].Get(); repOnKill.IsTeamAward2 = fields[6].Get(); repOnKill.ReputationMaxCap2 = fields[7].Get(); - repOnKill.RepValue2 = fields[8].Get(); + repOnKill.RepValue2 = fields[8].Get(); repOnKill.TeamDependent = fields[9].Get(); if (!GetCreatureTemplate(creature_id)) diff --git a/src/server/game/Globals/ObjectMgr.h b/src/server/game/Globals/ObjectMgr.h index 0e40a20b0..999ad14f0 100644 --- a/src/server/game/Globals/ObjectMgr.h +++ b/src/server/game/Globals/ObjectMgr.h @@ -563,9 +563,9 @@ struct ReputationOnKillEntry uint32 RepFaction1; uint32 RepFaction2; uint32 ReputationMaxCap1; - int32 RepValue1; + float RepValue1; uint32 ReputationMaxCap2; - int32 RepValue2; + float RepValue2; bool IsTeamAward1; bool IsTeamAward2; bool TeamDependent; From 2e491441e80983d73d4065b966698133bb1731c5 Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Sat, 22 Apr 2023 13:44:28 +0000 Subject: [PATCH 16/27] chore(DB): import pending files Referenced commit(s): 0667454dd968dcb369c1e7e23ff35b54bad29e8a --- .../rev_1680618519958381600.sql => db_world/2023_04_22_10.sql} | 1 + 1 file changed, 1 insertion(+) rename data/sql/updates/{pending_db_world/rev_1680618519958381600.sql => db_world/2023_04_22_10.sql} (81%) diff --git a/data/sql/updates/pending_db_world/rev_1680618519958381600.sql b/data/sql/updates/db_world/2023_04_22_10.sql similarity index 81% rename from data/sql/updates/pending_db_world/rev_1680618519958381600.sql rename to data/sql/updates/db_world/2023_04_22_10.sql index 2cacab38a..57bd0d158 100644 --- a/data/sql/updates/pending_db_world/rev_1680618519958381600.sql +++ b/data/sql/updates/db_world/2023_04_22_10.sql @@ -1,3 +1,4 @@ +-- DB update 2023_04_22_09 -> 2023_04_22_10 -- ALTER TABLE `creature_onkill_reputation` MODIFY `RewOnKillRepValue1` FLOAT NOT NULL DEFAULT 0; ALTER TABLE `creature_onkill_reputation` MODIFY `RewOnKillRepValue2` FLOAT NOT NULL DEFAULT 0; From cfb946edfc15af39aa0cc65c40fefcbba600ef6e Mon Sep 17 00:00:00 2001 From: ZhengPeiRu21 <98835050+ZhengPeiRu21@users.noreply.github.com> Date: Sat, 22 Apr 2023 07:48:17 -0600 Subject: [PATCH 17/27] fix(DB/Reputation): Correct Rep for Heroic Nexus Terror (#15801) * fix(DB/Creature): Correct Rep for Heroic Nexus Terror * Update to correct rep value --- data/sql/updates/pending_db_world/rev_1680531018840455000.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1680531018840455000.sql diff --git a/data/sql/updates/pending_db_world/rev_1680531018840455000.sql b/data/sql/updates/pending_db_world/rev_1680531018840455000.sql new file mode 100644 index 000000000..6945b6652 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1680531018840455000.sql @@ -0,0 +1,2 @@ +-- +UPDATE `creature_onkill_reputation` SET `RewOnKillRepValue1` = 22.5 WHERE `creature_id` = 20265; From a9ed401419c07b2590f2891d4f1edaa42833b958 Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Sat, 22 Apr 2023 13:50:42 +0000 Subject: [PATCH 18/27] chore(DB): import pending files Referenced commit(s): cfb946edfc15af39aa0cc65c40fefcbba600ef6e --- .../rev_1680531018840455000.sql => db_world/2023_04_22_11.sql} | 1 + 1 file changed, 1 insertion(+) rename data/sql/updates/{pending_db_world/rev_1680531018840455000.sql => db_world/2023_04_22_11.sql} (69%) diff --git a/data/sql/updates/pending_db_world/rev_1680531018840455000.sql b/data/sql/updates/db_world/2023_04_22_11.sql similarity index 69% rename from data/sql/updates/pending_db_world/rev_1680531018840455000.sql rename to data/sql/updates/db_world/2023_04_22_11.sql index 6945b6652..488a3bccc 100644 --- a/data/sql/updates/pending_db_world/rev_1680531018840455000.sql +++ b/data/sql/updates/db_world/2023_04_22_11.sql @@ -1,2 +1,3 @@ +-- DB update 2023_04_22_10 -> 2023_04_22_11 -- UPDATE `creature_onkill_reputation` SET `RewOnKillRepValue1` = 22.5 WHERE `creature_id` = 20265; From ace0cee18cb3f6c955f2b3f8dfc2031c790da3ea Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Sat, 22 Apr 2023 11:17:51 -0300 Subject: [PATCH 19/27] fix(Scripts/ShadowLabs): Fix Murmur Touch dealing damage twice (#16058) --- .../scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp index a1fab0ef7..e689df387 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp @@ -218,7 +218,6 @@ class spell_murmur_touch : public AuraScript { if (GetTarget()) { - GetTarget()->CastSpell(GetTarget(), SPELL_SHOCKWAVE, true); GetTarget()->CastSpell(GetTarget(), SPELL_SHOCKWAVE_SERVERSIDE, true); } } From fc7d2aedb0e05e65788fe424f9324b137946b1cf Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Sat, 22 Apr 2023 11:59:38 -0300 Subject: [PATCH 20/27] refactor(Scripts/ShadowLabirynth): Rework Grandmaster Vorpil (#16053) --- .../boss_grandmaster_vorpil.cpp | 144 ++++++------------ 1 file changed, 49 insertions(+), 95 deletions(-) diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp index c1ec49cb1..c666b1fe0 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp @@ -43,12 +43,6 @@ enum GrandmasterVorpil NPC_VOID_PORTAL = 19224, SPELL_VOID_PORTAL_VISUAL = 33569, - - EVENT_SPELL_SHADOWBOLT = 1, - EVENT_SPELL_DRAWSHADOWS = 2, - EVENT_SUMMON_TRAVELER = 3, - EVENT_SPELL_BANISH = 4, - EVENT_SPELL_RAIN_OF_FIRE = 5 }; float VorpilPosition[3] = {-253.548f, -263.646f, 17.0864f}; @@ -67,23 +61,15 @@ struct boss_grandmaster_vorpil : public BossAI { boss_grandmaster_vorpil(Creature* creature) : BossAI(creature, DATA_GRANDMASTER_VORPIL) { - instance = creature->GetInstanceScript(); sayIntro = false; } - InstanceScript* instance; bool sayIntro, sayHelp; - int count = 0; void Reset() override { + _Reset(); sayHelp = false; - events.Reset(); - summons.DespawnAll(); - if (instance) - { - instance->SetData(DATA_GRANDMASTER_VORPIL_EVENT, NOT_STARTED); - } } void summonPortals() @@ -105,36 +91,30 @@ struct boss_grandmaster_vorpil : public BossAI } } - int counterVoidSpawns(int count) + Milliseconds counterVoidSpawns(uint8 count) { - int timer = 0; - switch(count) + switch (count) { case 1: case 2: - timer = 13300; - break; + return 13300ms; case 3: - timer = 12100; - break; + return 12100ms; case 4: - timer = 10900; - break; + return 10900ms; case 5: case 6: - timer = 9700; - break; + return 9700ms; case 7: case 8: - timer = 7200; - break; + return 7200ms; case 9: - timer = 6000; - break; + return 6000ms; default: - timer = 4800; + return 4800ms; } - return timer; + + return 1s; } void JustSummoned(Creature* summon) override @@ -152,7 +132,7 @@ struct boss_grandmaster_vorpil : public BossAI void KilledUnit(Unit* victim) override { - if (victim->GetTypeId() == TYPEID_PLAYER) + if (victim->IsPlayer()) { Talk(SAY_SLAY); } @@ -161,27 +141,50 @@ struct boss_grandmaster_vorpil : public BossAI void JustDied(Unit* /*killer*/) override { Talk(SAY_DEATH); - summons.DespawnAll(); - if (instance) - { - instance->SetData(DATA_GRANDMASTER_VORPIL_EVENT, DONE); - } + _JustDied(); } void JustEngagedWith(Unit* /*who*/) override { Talk(SAY_AGGRO); summonPortals(); - events.ScheduleEvent(EVENT_SPELL_SHADOWBOLT, urand(9700, 20000)); - events.ScheduleEvent(EVENT_SPELL_DRAWSHADOWS, 36400); - events.ScheduleEvent(EVENT_SUMMON_TRAVELER, 10900); + + scheduler.Schedule(9700ms, 20s, [this](TaskContext context) + { + DoCastAOE(SPELL_SHADOWBOLT_VOLLEY); + context.Repeat(); + }).Schedule(36400ms, [this](TaskContext context) + { + DoCastSelf(SPELL_DRAW_SHADOWS, true); + + me->GetMap()->DoForAllPlayers([&](Player* player) + { + if (player->IsAlive() && !player->HasAura(SPELL_BANISH)) + { + player->TeleportTo(me->GetMapId(), VorpilPosition[0], VorpilPosition[1], VorpilPosition[2], 0, TELE_TO_NOT_LEAVE_COMBAT); + } + }); + + scheduler.Schedule(1s, [this](TaskContext /*context*/) + { + DoCastSelf(DUNGEON_MODE(SPELL_RAIN_OF_FIRE_N, SPELL_RAIN_OF_FIRE_H)); + }); + + me->NearTeleportTo(VorpilPosition[0], VorpilPosition[1], VorpilPosition[2], 0.0f); + context.Repeat(36400ms, 44950ms); + }).Schedule(10900ms, [this](TaskContext context) + { + spawnVoidTraveler(); + context.Repeat(counterVoidSpawns(context.GetRepeatCounter())); + }); + if (IsHeroic()) { - events.ScheduleEvent(EVENT_SPELL_BANISH, urand(17000, 28000)); - } - if (instance) - { - instance->SetData(DATA_GRANDMASTER_VORPIL_EVENT, IN_PROGRESS); + scheduler.Schedule(17s, 28s, [this](TaskContext context) + { + DoCastRandomTarget(SPELL_BANISH, 0, 30.0f, true); + context.Repeat(); + }); } } @@ -194,55 +197,6 @@ struct boss_grandmaster_vorpil : public BossAI sayIntro = true; } } - - void UpdateAI(uint32 diff) override - { - if (!UpdateVictim()) - return; - - events.Update(diff); - switch (events.ExecuteEvent()) - { - case EVENT_SPELL_SHADOWBOLT: - DoCastAOE(SPELL_SHADOWBOLT_VOLLEY); - events.RepeatEvent(urand(9700, 20000)); - break; - case EVENT_SPELL_BANISH: - DoCastRandomTarget(SPELL_BANISH, 0, 30.0f, true); - events.RepeatEvent(urand(17000, 28000)); - break; - case EVENT_SUMMON_TRAVELER: - spawnVoidTraveler(); - count++; - events.RepeatEvent(counterVoidSpawns(count)); - break; - case EVENT_SPELL_DRAWSHADOWS: - { - DoCastSelf(SPELL_DRAW_SHADOWS, true); - Map* map = me->GetMap(); - Map::PlayerList const& PlayerList = map->GetPlayers(); - for (Map::PlayerList::const_iterator i = PlayerList.begin(); i != PlayerList.end(); ++i) - { - if (Player* player = i->GetSource()) - { - if (player->IsAlive() && !player->HasAura(SPELL_BANISH)) - { - player->TeleportTo(me->GetMapId(), VorpilPosition[0], VorpilPosition[1], VorpilPosition[2], 0, TELE_TO_NOT_LEAVE_COMBAT); - } - } - } - me->NearTeleportTo(VorpilPosition[0], VorpilPosition[1], VorpilPosition[2], 0.0f); - events.ScheduleEvent(EVENT_SPELL_RAIN_OF_FIRE, 1000); - events.RepeatEvent(urand(36400, 44950)); - break; - } - case EVENT_SPELL_RAIN_OF_FIRE: - DoCastSelf(DUNGEON_MODE(SPELL_RAIN_OF_FIRE_N, SPELL_RAIN_OF_FIRE_H)); - events.DelayEvents(6000); - break; - } - DoMeleeAttackIfReady(); - } }; struct npc_voidtraveler : public ScriptedAI From 448dae8f21434d3acd70dbd9555dee62e50a23c2 Mon Sep 17 00:00:00 2001 From: neifion-00000000 <91289495+neifion-00000000@users.noreply.github.com> Date: Sat, 22 Apr 2023 19:03:15 -0500 Subject: [PATCH 21/27] fix:(DB/Loot): Put Item 1219 onto the correct loot table (#15922) --- .../updates/pending_db_world/rev_1681296870508704800.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1681296870508704800.sql diff --git a/data/sql/updates/pending_db_world/rev_1681296870508704800.sql b/data/sql/updates/pending_db_world/rev_1681296870508704800.sql new file mode 100644 index 000000000..aab00eeba --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1681296870508704800.sql @@ -0,0 +1,6 @@ +-- +-- Put Item 1219 Redridge Machete loot on right mob +DELETE FROM `reference_loot_template` WHERE `Entry`=24077 AND `Item`=1219; +DELETE FROM `creature_loot_template` WHERE `Entry`=424 AND `Item`=1219 AND `Reference`=0 AND `GroupId`=0; +INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(424, 1219, 0, 2, 0, 1, 0, 1, 1, 'Redridge Poacher - Redridge Machete'); From 697146fc4013cf6687cffe5045390e667db73d82 Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Sun, 23 Apr 2023 00:05:50 +0000 Subject: [PATCH 22/27] chore(DB): import pending files Referenced commit(s): 448dae8f21434d3acd70dbd9555dee62e50a23c2 --- .../rev_1681296870508704800.sql => db_world/2023_04_23_00.sql} | 1 + 1 file changed, 1 insertion(+) rename data/sql/updates/{pending_db_world/rev_1681296870508704800.sql => db_world/2023_04_23_00.sql} (91%) diff --git a/data/sql/updates/pending_db_world/rev_1681296870508704800.sql b/data/sql/updates/db_world/2023_04_23_00.sql similarity index 91% rename from data/sql/updates/pending_db_world/rev_1681296870508704800.sql rename to data/sql/updates/db_world/2023_04_23_00.sql index aab00eeba..64963bbd3 100644 --- a/data/sql/updates/pending_db_world/rev_1681296870508704800.sql +++ b/data/sql/updates/db_world/2023_04_23_00.sql @@ -1,3 +1,4 @@ +-- DB update 2023_04_22_11 -> 2023_04_23_00 -- -- Put Item 1219 Redridge Machete loot on right mob DELETE FROM `reference_loot_template` WHERE `Entry`=24077 AND `Item`=1219; From 6e7493e8dfb17ae998f2f92e62069875db08c2cf Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Sun, 23 Apr 2023 08:32:39 -0300 Subject: [PATCH 23/27] fix(Scripts/ShadowLabirynth): Clean up script and fix doors (#16061) * fix(Scripts/ShadowLabirynth): Clean up script and fix doors * Update instance_shadow_labyrinth.cpp * Update boss_ambassador_hellmaw.cpp --- .../boss_ambassador_hellmaw.cpp | 3 +- .../instance_shadow_labyrinth.cpp | 139 ++++-------------- .../ShadowLabyrinth/shadow_labyrinth.h | 7 +- 3 files changed, 37 insertions(+), 112 deletions(-) diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp index 3acaa2c65..be9060b3c 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp @@ -52,7 +52,7 @@ struct boss_ambassador_hellmaw : public BossAI { Reset(); - if (instance->GetData(TYPE_RITUALISTS) != DONE) + if (instance->GetPersistentData(TYPE_RITUALISTS) != DONE) { isBanished = true; me->SetImmuneToAll(true); @@ -98,7 +98,6 @@ struct boss_ambassador_hellmaw : public BossAI } Talk(SAY_AGGRO); - events.ScheduleEvent(EVENT_SPELL_CORROSIVE, urand(23050, 30350)); scheduler.Schedule(23050ms, 30350ms, [this](TaskContext context) { diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/instance_shadow_labyrinth.cpp b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/instance_shadow_labyrinth.cpp index 8cc47c220..ec49b1d16 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/instance_shadow_labyrinth.cpp +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/instance_shadow_labyrinth.cpp @@ -19,6 +19,19 @@ #include "ScriptMgr.h" #include "shadow_labyrinth.h" +DoorData const doorData[] = +{ + { GO_REFECTORY_DOOR, DATA_BLACKHEARTTHEINCITEREVENT, DOOR_TYPE_PASSAGE }, + { GO_SCREAMING_HALL_DOOR, DATA_GRANDMASTER_VORPIL, DOOR_TYPE_PASSAGE }, + { 0, 0, DOOR_TYPE_ROOM } // END +}; + +ObjectData const creatureData[] = +{ + { NPC_HELLMAW, TYPE_HELLMAW }, + { 0, 0 }, +}; + class instance_shadow_labyrinth : public InstanceMapScript { public: @@ -31,62 +44,31 @@ public: struct instance_shadow_labyrinth_InstanceMapScript : public InstanceScript { - instance_shadow_labyrinth_InstanceMapScript(Map* map) : InstanceScript(map) {} - - uint32 m_auiEncounter[MAX_ENCOUNTER]; - - ObjectGuid m_uiHellmawGUID; - ObjectGuid m_uiRefectoryDoorGUID; - ObjectGuid m_uiScreamingHallDoorGUID; + instance_shadow_labyrinth_InstanceMapScript(Map* map) : InstanceScript(map) + { + SetBossNumber(EncounterCount); + SetPersistentDataCount(PersistentDataCount); + LoadDoorData(doorData); + LoadObjectData(creatureData, nullptr); + } uint32 _ritualistsAliveCount; void Initialize() override { - memset(&m_auiEncounter, 0, sizeof(m_auiEncounter)); - _ritualistsAliveCount = 0; } - bool IsEncounterInProgress() const override - { - for (uint8 i = 0; i < MAX_ENCOUNTER; ++i) - if (m_auiEncounter[i] == IN_PROGRESS) - return true; - - return false; - } - - void OnGameObjectCreate(GameObject* go) override - { - switch (go->GetEntry()) - { - case REFECTORY_DOOR: - m_uiRefectoryDoorGUID = go->GetGUID(); - if (m_auiEncounter[DATA_BLACKHEARTTHEINCITEREVENT] == DONE) - go->SetGoState(GO_STATE_ACTIVE); - break; - case SCREAMING_HALL_DOOR: - m_uiScreamingHallDoorGUID = go->GetGUID(); - if (m_auiEncounter[DATA_GRANDMASTER_VORPIL_EVENT] == DONE) - go->SetGoState(GO_STATE_ACTIVE); - break; - } - } - void OnCreatureCreate(Creature* creature) override { InstanceScript::OnCreatureCreate(creature); - switch (creature->GetEntry()) + if (creature->GetEntry() == NPC_CABAL_RITUALIST) { - case NPC_CABAL_RITUALIST: - if (creature->IsAlive()) - ++_ritualistsAliveCount; - break; - case NPC_HELLMAW: - m_uiHellmawGUID = creature->GetGUID(); - break; + if (creature->IsAlive()) + { + ++_ritualistsAliveCount; + } } } @@ -95,84 +77,25 @@ public: InstanceScript::OnUnitDeath(unit); if (unit->GetEntry() == NPC_CABAL_RITUALIST) + { if (!--_ritualistsAliveCount) { - m_auiEncounter[TYPE_RITUALISTS] = DONE; - SaveToDB(); - if (Creature* cr = instance->GetCreature(m_uiHellmawGUID)) + StorePersistentData(TYPE_RITUALISTS, DONE); + if (Creature* hellmaw = GetCreature(TYPE_HELLMAW)) { - cr->AI()->DoAction(1); + hellmaw->AI()->DoAction(1); } } - } - - void SetData(uint32 type, uint32 uiData) override - { - switch (type) - { - case DATA_BLACKHEARTTHEINCITEREVENT: - if (uiData == DONE) - DoUseDoorOrButton(m_uiRefectoryDoorGUID); - m_auiEncounter[type] = uiData; - break; - - case DATA_GRANDMASTER_VORPIL_EVENT: - if (uiData == DONE) - DoUseDoorOrButton(m_uiScreamingHallDoorGUID); - m_auiEncounter[type] = uiData; - break; - - case DATA_MURMUREVENT: - case TYPE_HELLMAW: - m_auiEncounter[type] = uiData; - break; } - - if (uiData == DONE) - SaveToDB(); } uint32 GetData(uint32 type) const override { if (type == TYPE_RITUALISTS) - return m_auiEncounter[0]; + return GetPersistentData(TYPE_RITUALISTS); + return 0; } - - std::string GetSaveData() override - { - std::ostringstream saveStream; - saveStream << "S L " << m_auiEncounter[0] << ' ' << m_auiEncounter[1] << ' ' - << m_auiEncounter[2] << ' ' << m_auiEncounter[3] << ' ' << m_auiEncounter[4]; - - return saveStream.str(); - } - - void Load(const char* in) override - { - if (!in) - { - OUT_LOAD_INST_DATA_FAIL; - return; - } - - OUT_LOAD_INST_DATA(in); - - char dataHead1, dataHead2; - std::istringstream loadStream(in); - loadStream >> dataHead1 >> dataHead2; - if (dataHead1 == 'S' && dataHead2 == 'L') - { - for (uint8 i = 0; i < MAX_ENCOUNTER; ++i) - { - loadStream >> m_auiEncounter[i]; - if (m_auiEncounter[i] == IN_PROGRESS) - m_auiEncounter[i] = NOT_STARTED; - } - } - - OUT_LOAD_INST_DATA_COMPLETE; - } }; }; diff --git a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/shadow_labyrinth.h b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/shadow_labyrinth.h index 0c183a08f..e6e77bdd8 100644 --- a/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/shadow_labyrinth.h +++ b/src/server/scripts/Outland/Auchindoun/ShadowLabyrinth/shadow_labyrinth.h @@ -42,10 +42,13 @@ enum slNPCandGO NPC_CABAL_RITUALIST = 18794, NPC_HELLMAW = 18731, - REFECTORY_DOOR = 183296, //door opened when blackheart the inciter dies - SCREAMING_HALL_DOOR = 183295 //door opened when grandmaster vorpil dies + GO_REFECTORY_DOOR = 183296, //door opened when blackheart the inciter dies + GO_SCREAMING_HALL_DOOR = 183295 //door opened when grandmaster vorpil dies }; +uint32 constexpr EncounterCount = 4; +uint32 constexpr PersistentDataCount = 1; + template inline AI* GetShadowLabyrinthAI(T* obj) { From c3948567e2a559e541f5adb32638b56c2fae3dd0 Mon Sep 17 00:00:00 2001 From: Gultask <100873791+Gultask@users.noreply.github.com> Date: Sun, 23 Apr 2023 09:06:08 -0300 Subject: [PATCH 24/27] fix(Scripts/ShatteredHalls): Update Grand Warlock Netherkurse (#16063) init --- .../rev_1682223226213485600.sql | 28 +++++++ .../ShatteredHalls/boss_nethekurse.cpp | 83 ++++++++----------- 2 files changed, 61 insertions(+), 50 deletions(-) create mode 100644 data/sql/updates/pending_db_world/rev_1682223226213485600.sql diff --git a/data/sql/updates/pending_db_world/rev_1682223226213485600.sql b/data/sql/updates/pending_db_world/rev_1682223226213485600.sql new file mode 100644 index 000000000..bbb08bfba --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1682223226213485600.sql @@ -0,0 +1,28 @@ +DELETE FROM `creature_text` WHERE `CreatureID` = 17083; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +-- Shadow Sear +(17083, 0, 0, 'It hurt!', 14, 0, 100, 18, 0, 0, 14136, 0, 'Fel Orc Convert - Hit by Shadow Sear'), +(17083, 0, 1, 'Augh! No more hurt!', 14, 0, 100, 18, 0, 0, 14137, 0, 'Fel Orc Convert - Hit by Shadow Sear'), +(17083, 0, 2, 'This not good tickle!', 14, 0, 100, 18, 0, 0, 14138, 0, 'Fel Orc Convert - Hit by Shadow Sear'), +(17083, 0, 3, 'Skin on fire!', 14, 0, 100, 18, 0, 0, 14139, 0, 'Fel Orc Convert - Hit by Shadow Sear'), +-- Death Coil +(17083, 1, 0, 'It hurt!', 14, 1, 100, 18, 0, 0, 14140, 0, 'Fel Orc Convert - Hit by Death Coil'), +(17083, 1, 1, 'Aahhh!', 14, 1, 100, 18, 0, 0, 14141, 0, 'Fel Orc Convert - Hit by Death Coil'), +(17083, 1, 2, 'No more scary!', 14, 1, 100, 18, 0, 0, 14142, 0, 'Fel Orc Convert - Hit by Death Coil'), +(17083, 1, 3, 'Mommy!', 14, 1, 100, 18, 0, 0, 14143, 0, 'Fel Orc Convert - Hit by Death Coil'), +(17083, 1, 4, 'No more!', 14, 1, 100, 18, 0, 0, 14144, 0, 'Fel Orc Convert - Hit by Death Coil'), +-- Consumption / Shadow Fissure +(17083, 2, 0, 'Pain!', 14, 1, 100, 18, 0, 1343, 14149, 0, 'Fel Orc Convert - Hit by Shadow Fissure'), +(17083, 2, 1, 'It hurts!', 14, 1, 100, 18, 0, 1343, 14150, 0, 'Fel Orc Convert - Hit by Shadow Fissure'), +(17083, 2, 2, 'Graaagggh!!', 14, 1, 100, 18, 0, 1343, 14151, 0, 'Fel Orc Convert - Hit by Shadow Fissure'), +(17083, 2, 3, 'No more!!', 14, 1, 100, 18, 0, 1343, 14152, 0, 'Fel Orc Convert - Hit by Shadow Fissure'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 17083 AND `id` IN (6, 7, 8)); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(17083, 0, 6, 0, 8, 0, 25, 0, 30735, 0, 21000, 21000, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Hit by \'Shadow Sear\' - Say Line 0'), +(17083, 0, 7, 0, 8, 0, 25, 0, 30741, 0, 20000, 20000, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Hit by \'Death Coil\' - Say Line 1'), +(17083, 0, 8, 0, 8, 0, 25, 0, 32251, 0, 20000, 20000, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Fel Orc Convert - On Hit by \'Consumption\' - Say Line 2'); + +DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceGroup` = 3) AND (`SourceEntry` = 30741); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(13, 3, 30741, 0, 0, 31, 0, 3, 17083, 0, 0, 0, 0, '', 'Death Coil (30741) can only target Fel Orc Convert (17083)'); diff --git a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp index 8284319a0..f41f81900 100644 --- a/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp @@ -22,37 +22,40 @@ enum eGrandWarlockNethekurse { - SAY_INTRO = 0, - SAY_PEON_ATTACKED = 1, - SAY_PEON_DIES = 2, - SAY_TAUNT = 3, - SAY_AGGRO = 4, - SAY_SLAY = 5, - SAY_DIE = 6, + SAY_INTRO = 0, + SAY_PEON_ATTACKED = 1, + SAY_PEON_DIES = 2, + SAY_TAUNT = 3, + SAY_AGGRO = 4, + SAY_SLAY = 5, + SAY_DIE = 6, - SPELL_DEATH_COIL_N = 30741, - SPELL_DEATH_COIL_H = 30500, - SPELL_DARK_SPIN = 30502, - SPELL_SHADOW_FISSURE = 30496, - SPELL_SHADOW_CLEAVE_N = 30495, - SPELL_SHADOW_SLAM_H = 35953, - SPELL_SHADOW_SEAR = 30735, + SPELL_DEATH_COIL_N = 30500, + SPELL_DEATH_COIL_H = 35954, + SPELL_DARK_SPIN = 30502, + SPELL_SHADOW_FISSURE = 30496, + SPELL_SHADOW_CLEAVE_N = 30495, + SPELL_SHADOW_SLAM_H = 35953, - SETDATA_DATA = 1, - SETDATA_PEON_AGGRO = 1, - SETDATA_PEON_DEATH = 2, + // Spells used exclusively in RP + SPELL_SHADOW_SEAR = 30735, + SPELL_DEATH_COIL = 30741, - EVENT_STAGE_NONE = 0, - EVENT_STAGE_INTRO = 1, - EVENT_STAGE_TAUNT = 2, - EVENT_STAGE_MAIN = 3, + EVENT_INTRO = 1, + EVENT_SPELL_DEATH_COIL = 2, + EVENT_SPELL_SHADOW_FISSURE = 3, + EVENT_SPELL_CLEAVE = 4, + EVENT_CHECK_HEALTH = 5, + EVENT_START_ATTACK = 6, - EVENT_INTRO = 1, - EVENT_SPELL_DEATH_COIL = 2, - EVENT_SPELL_SHADOW_FISSURE = 3, - EVENT_SPELL_CLEAVE = 4, - EVENT_CHECK_HEALTH = 5, - EVENT_START_ATTACK = 6 + EVENT_STAGE_NONE = 0, + EVENT_STAGE_INTRO = 1, + EVENT_STAGE_TAUNT = 2, + EVENT_STAGE_MAIN = 3, + + SETDATA_DATA = 1, + SETDATA_PEON_AGGRO = 1, + SETDATA_PEON_DEATH = 2 }; // ######################################################## @@ -71,23 +74,11 @@ public: EventMap events2; void Reset() override { - me->SetUnitFlag(UNIT_FLAG_NON_ATTACKABLE); EventStage = EVENT_STAGE_NONE; - PeonEngagedCount = 0; - PeonKilledCount = 0; _Reset(); - SummonMinions(); events2.Reset(); } - void SummonMinions() - { - me->SummonCreature(NPC_FEL_ORC_CONVERT, 172.556f, 258.227f, -13.191f, 1.41189f); - me->SummonCreature(NPC_FEL_ORC_CONVERT, 165.181f, 261.511f, -13.1926f, 0.942743f); - me->SummonCreature(NPC_FEL_ORC_CONVERT, 182.482f, 258.635f, -13.1788f, 1.70929f); - me->SummonCreature(NPC_FEL_ORC_CONVERT, 189.616f, 259.866f, -13.1966f, 1.95748f); - } - void JustDied(Unit* /*killer*/) override { Talk(SAY_DIE); @@ -132,13 +123,6 @@ public: } } - void JustSummoned(Creature* summon) override - { - summons.Summon(summon); - summon->SetReactState(REACT_DEFENSIVE); - summon->SetRegeneratingHealth(false); - } - void MoveInLineOfSight(Unit* who) override { if (me->IsWithinDistInMap(who, 30.0f)) @@ -194,7 +178,6 @@ public: { Talk(SAY_AGGRO); EventStage = EVENT_STAGE_MAIN; - me->RemoveUnitFlag(UNIT_FLAG_NON_ATTACKABLE); if (Unit* target = me->SelectNearestPlayer(50.0f)) AttackStart(target); @@ -246,9 +229,9 @@ public: } private: - uint32 PeonEngagedCount; - uint32 PeonKilledCount; - uint32 EventStage; + uint8 PeonEngagedCount = 0; + uint8 PeonKilledCount = 0; + uint8 EventStage; }; CreatureAI* GetAI(Creature* creature) const override From 27bff1be649280d153e0f87cd2a6b58a469b7a27 Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Sun, 23 Apr 2023 12:08:22 +0000 Subject: [PATCH 25/27] chore(DB): import pending files Referenced commit(s): c3948567e2a559e541f5adb32638b56c2fae3dd0 --- .../rev_1682223226213485600.sql => db_world/2023_04_23_01.sql} | 1 + 1 file changed, 1 insertion(+) rename data/sql/updates/{pending_db_world/rev_1682223226213485600.sql => db_world/2023_04_23_01.sql} (98%) diff --git a/data/sql/updates/pending_db_world/rev_1682223226213485600.sql b/data/sql/updates/db_world/2023_04_23_01.sql similarity index 98% rename from data/sql/updates/pending_db_world/rev_1682223226213485600.sql rename to data/sql/updates/db_world/2023_04_23_01.sql index bbb08bfba..d1c6ca23d 100644 --- a/data/sql/updates/pending_db_world/rev_1682223226213485600.sql +++ b/data/sql/updates/db_world/2023_04_23_01.sql @@ -1,3 +1,4 @@ +-- DB update 2023_04_23_00 -> 2023_04_23_01 DELETE FROM `creature_text` WHERE `CreatureID` = 17083; INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES -- Shadow Sear From 41c51319a88a36325c1f3b892548d786be8833eb Mon Sep 17 00:00:00 2001 From: avarishd <46330494+avarishd@users.noreply.github.com> Date: Sun, 23 Apr 2023 15:54:14 +0300 Subject: [PATCH 26/27] fix(DB/SAI): Correct Daggerfen npcs (#16067) --- .../rev_1682245181189379600.sql | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 data/sql/updates/pending_db_world/rev_1682245181189379600.sql diff --git a/data/sql/updates/pending_db_world/rev_1682245181189379600.sql b/data/sql/updates/pending_db_world/rev_1682245181189379600.sql new file mode 100644 index 000000000..34bd8c545 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1682245181189379600.sql @@ -0,0 +1,21 @@ +-- 18116 (Daggerfen Assassin) +UPDATE `creature_template_addon` SET `auras` = '22766' WHERE `entry` = 18116; + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18116); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18116, 0, 0, 0, 0, 0, 100, 0, 4000, 4000, 10000, 10000, 0, 11, 35204, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Daggerfen Assassin - In Combat - Cast \'Toxic Fumes\''), +(18116, 0, 1, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Daggerfen Assassin - Between 0-15% Health - Flee For Assist (No Repeat)'); + +-- 18115 (Daggerfen Muckdweller) +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18115); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(18115, 0, 0, 0, 0, 0, 100, 0, 5000, 10000, 4000, 8000, 0, 11, 35201, 32, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Daggerfen Muckdweller - In Combat - Cast \'Paralytic Poison\''), +(18115, 0, 1, 0, 2, 0, 100, 1, 0, 15, 0, 0, 0, 25, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Daggerfen Muckdweller - Between 0-15% Health - Flee For Assist (No Repeat)'); + +-- 19733 (Daggerfen Servant) +DELETE FROM `spell_script_names` WHERE `spell_id`=35207; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (35207, 'spell_gen_bandage'); + +DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19733); +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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(19733, 0, 0, 0, 74, 0, 100, 0, 0, 25, 8000, 12000, 5, 11, 35207, 32, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Daggerfen Servant - On Friendly Between 0-25% Health - Cast \'Bandage\''); From 68825ef9cc0403df9c6b591c47bc443d3a14a8b5 Mon Sep 17 00:00:00 2001 From: AzerothCoreBot Date: Sun, 23 Apr 2023 12:56:41 +0000 Subject: [PATCH 27/27] chore(DB): import pending files Referenced commit(s): 41c51319a88a36325c1f3b892548d786be8833eb --- .../rev_1682245181189379600.sql => db_world/2023_04_23_02.sql} | 1 + 1 file changed, 1 insertion(+) rename data/sql/updates/{pending_db_world/rev_1682245181189379600.sql => db_world/2023_04_23_02.sql} (98%) diff --git a/data/sql/updates/pending_db_world/rev_1682245181189379600.sql b/data/sql/updates/db_world/2023_04_23_02.sql similarity index 98% rename from data/sql/updates/pending_db_world/rev_1682245181189379600.sql rename to data/sql/updates/db_world/2023_04_23_02.sql index 34bd8c545..8967324b1 100644 --- a/data/sql/updates/pending_db_world/rev_1682245181189379600.sql +++ b/data/sql/updates/db_world/2023_04_23_02.sql @@ -1,3 +1,4 @@ +-- DB update 2023_04_23_01 -> 2023_04_23_02 -- 18116 (Daggerfen Assassin) UPDATE `creature_template_addon` SET `auras` = '22766' WHERE `entry` = 18116;