{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/db38caa9de45dd4e02fb9577e9461a9e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"db38caa9de45dd4e02fb9577e9461a9e","url":"https://api.github.com/users/Kapoeira","login":"Kapoeira","id":563936},"milestone":null,"labels":[],"updated_at":"2011-11-06T19:48:15Z","assignee":null,"comments":0,"closed_at":null,"url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/3864","body":"Will be up to Shauren to determine if they are correct. Based myself on some videos where you had a group of three people grinding rep.\r\nNOTE: Creature's damage may be incorrect, I can't get those values\r\n\r\n```diff\r\n\r\ndiff --git a/sql/custom/npc_deathbound_ward.sql b/sql/custom/npc_deathbound_ward.sql\r\nnew file mode 100644\r\nindex 0000000..29689ec\r\n--- /dev/null\r\n+++ b/sql/custom/npc_deathbound_ward.sql\r\n@@ -0,0 +1 @@\r\n+UPDATE `creature_template` SET `ScriptName`='npc_deathbound_ward' WHERE `entry`=37007;\r\ndiff --git a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp\r\nindex ab30468..65ddee6 100755\r\n--- a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp\r\n+++ b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.cpp\r\n@@ -211,43 +211,46 @@ enum EventTypes\r\n     // Frost Freeze Trap\r\n     EVENT_ACTIVATE_TRAP                 = 28,\r\n \r\n+    // Deathbound Ward\r\n+    EVENT_DISRUPTING_SHOUT              = 29,\r\n+\r\n     // Crok Scourgebane\r\n-    EVENT_SCOURGE_STRIKE                = 29,\r\n-    EVENT_DEATH_STRIKE                  = 30,\r\n-    EVENT_HEALTH_CHECK                  = 31,\r\n-    EVENT_CROK_INTRO_3                  = 32,\r\n-    EVENT_START_PATHING                 = 33,\r\n+    EVENT_SCOURGE_STRIKE                = 30,\r\n+    EVENT_DEATH_STRIKE                  = 31,\r\n+    EVENT_HEALTH_CHECK                  = 32,\r\n+    EVENT_CROK_INTRO_3                  = 33,\r\n+    EVENT_START_PATHING                 = 34,\r\n \r\n     // Sister Svalna\r\n-    EVENT_ARNATH_INTRO_2                = 34,\r\n-    EVENT_SVALNA_START                  = 35,\r\n-    EVENT_SVALNA_RESURRECT              = 36,\r\n-    EVENT_SVALNA_COMBAT                 = 37,\r\n-    EVENT_IMPALING_SPEAR                = 38,\r\n-    EVENT_AETHER_SHIELD                 = 39,\r\n+    EVENT_ARNATH_INTRO_2                = 35,\r\n+    EVENT_SVALNA_START                  = 36,\r\n+    EVENT_SVALNA_RESURRECT              = 37,\r\n+    EVENT_SVALNA_COMBAT                 = 38,\r\n+    EVENT_IMPALING_SPEAR                = 39,\r\n+    EVENT_AETHER_SHIELD                 = 40,\r\n \r\n     // Captain Arnath\r\n-    EVENT_ARNATH_FLASH_HEAL             = 40,\r\n-    EVENT_ARNATH_PW_SHIELD              = 41,\r\n-    EVENT_ARNATH_SMITE                  = 42,\r\n-    EVENT_ARNATH_DOMINATE_MIND          = 43,\r\n+    EVENT_ARNATH_FLASH_HEAL             = 41,\r\n+    EVENT_ARNATH_PW_SHIELD              = 42,\r\n+    EVENT_ARNATH_SMITE                  = 43,\r\n+    EVENT_ARNATH_DOMINATE_MIND          = 44,\r\n \r\n     // Captain Brandon\r\n-    EVENT_BRANDON_CRUSADER_STRIKE       = 44,\r\n-    EVENT_BRANDON_DIVINE_SHIELD         = 45,\r\n-    EVENT_BRANDON_JUDGEMENT_OF_COMMAND  = 46,\r\n-    EVENT_BRANDON_HAMMER_OF_BETRAYAL    = 47,\r\n+    EVENT_BRANDON_CRUSADER_STRIKE       = 45,\r\n+    EVENT_BRANDON_DIVINE_SHIELD         = 46,\r\n+    EVENT_BRANDON_JUDGEMENT_OF_COMMAND  = 47,\r\n+    EVENT_BRANDON_HAMMER_OF_BETRAYAL    = 48,\r\n \r\n     // Captain Grondel\r\n-    EVENT_GRONDEL_CHARGE_CHECK          = 48,\r\n-    EVENT_GRONDEL_MORTAL_STRIKE         = 49,\r\n-    EVENT_GRONDEL_SUNDER_ARMOR          = 50,\r\n-    EVENT_GRONDEL_CONFLAGRATION         = 51,\r\n+    EVENT_GRONDEL_CHARGE_CHECK          = 49,\r\n+    EVENT_GRONDEL_MORTAL_STRIKE         = 50,\r\n+    EVENT_GRONDEL_SUNDER_ARMOR          = 51,\r\n+    EVENT_GRONDEL_CONFLAGRATION         = 52,\r\n \r\n     // Captain Rupert\r\n-    EVENT_RUPERT_FEL_IRON_BOMB          = 52,\r\n-    EVENT_RUPERT_MACHINE_GUN            = 53,\r\n-    EVENT_RUPERT_ROCKET_LAUNCH          = 54,\r\n+    EVENT_RUPERT_FEL_IRON_BOMB          = 53,\r\n+    EVENT_RUPERT_MACHINE_GUN            = 54,\r\n+    EVENT_RUPERT_ROCKET_LAUNCH          = 55,\r\n };\r\n \r\n enum DataTypesICC\r\n@@ -580,6 +583,73 @@ class npc_highlord_tirion_fordring_lh : public CreatureScript\r\n         }\r\n };\r\n \r\n+class npc_deathbound_ward : public CreatureScript\r\n+{\r\n+    public:\r\n+        npc_deathbound_ward() : CreatureScript(\"npc_deathbound_ward\") { }\r\n+\r\n+        struct npc_deathbound_wardAI : public ScriptedAI\r\n+        {\r\n+            npc_deathbound_wardAI(Creature* creature) : ScriptedAI(creature)\r\n+            {\r\n+            }\r\n+\r\n+            void EnterCombat(Unit* /*who*/)\r\n+            {\r\n+                events.Reset();\r\n+                events.ScheduleEvent(EVENT_DISRUPTING_SHOUT, urand(17000, 23000));\r\n+            }\r\n+\r\n+            void DoAction(uint32 id)\r\n+            {\r\n+                if (id != ACTION_AWAKEN)\r\n+                    return;\r\n+\r\n+                Talk(SAY_TRAP_ACTIVATE);\r\n+                me->RemoveAurasDueToSpell(SPELL_STONEFORM);\r\n+                if (Unit* target = me->SelectNearestTarget(30.0f))\r\n+                    AttackStart(target);\r\n+            }\r\n+\r\n+            void UpdateAI(uint32 const diff)\r\n+            {\r\n+                if (!UpdateVictim())\r\n+                    return;\r\n+\r\n+                events.Update(diff);\r\n+\r\n+                if (me->HasUnitState(UNIT_STAT_CASTING))\r\n+                    return;\r\n+\r\n+                while (uint32 eventId = events.ExecuteEvent())\r\n+                {\r\n+                    switch (eventId)\r\n+                    {\r\n+                        case EVENT_DISRUPTING_SHOUT:\r\n+                            DoCast(me, SPELL_DISRUPTING_SHOUT);\r\n+                            events.ScheduleEvent(EVENT_DISRUPTING_SHOUT, urand(17000, 23000));\r\n+                            break;\r\n+                        default:\r\n+                            break;\r\n+                    }\r\n+                }\r\n+\r\n+                if (!me->GetCurrentSpell(CURRENT_MELEE_SPELL))\r\n+                    DoCastVictim(SPELL_SABERLASH);\r\n+\r\n+                DoMeleeAttackIfReady();\r\n+            }\r\n+\r\n+        private:\r\n+            EventMap events;\r\n+        };\r\n+\r\n+        CreatureAI* GetAI(Creature* creature) const\r\n+        {\r\n+            return GetIcecrownCitadelAI<npc_deathbound_wardAI>(creature);\r\n+        }\r\n+};\r\n+\r\n class npc_rotting_frost_giant : public CreatureScript\r\n {\r\n     public:\r\n@@ -1749,10 +1819,7 @@ class spell_icc_sprit_alarm : public SpellScriptLoader\r\n                 {\r\n                     if ((*itr)->isAlive() && (*itr)->HasAura(SPELL_STONEFORM))\r\n                     {\r\n-                        (*itr)->AI()->Talk(SAY_TRAP_ACTIVATE);\r\n-                        (*itr)->RemoveAurasDueToSpell(SPELL_STONEFORM);\r\n-                        if (Unit* target = (*itr)->SelectNearestTarget(150.0f))\r\n-                            (*itr)->AI()->AttackStart(target);\r\n+                        (*itr)->AI()->DoAction(ACTION_AWAKEN);\r\n                         break;\r\n                     }\r\n                 }\r\n@@ -2052,6 +2119,7 @@ void AddSC_icecrown_citadel()\r\n     new npc_highlord_tirion_fordring_lh();\r\n     new npc_rotting_frost_giant();\r\n     new npc_frost_freeze_trap();\r\n+    new npc_deathbound_ward();\r\n     new npc_alchemist_adrianna();\r\n     new boss_sister_svalna();\r\n     new npc_crok_scourgebane();\r\ndiff --git a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h\r\nindex ece966f..00e250c 100644\r\n--- a/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h\r\n+++ b/src/server/scripts/Northrend/IcecrownCitadel/icecrown_citadel.h\r\n@@ -45,6 +45,8 @@ enum SharedSpells\r\n \r\n     // Deathbound Ward\r\n     SPELL_STONEFORM                     = 70733,\r\n+    SPELL_SABERLASH                     = 71021,\r\n+    SPELL_DISRUPTING_SHOUT              = 71022,\r\n \r\n     // Residue Rendezvous\r\n     SPELL_ORANGE_BLIGHT_RESIDUE         = 72144,\r\n@@ -392,6 +394,9 @@ enum AchievementCriteriaIds\r\n \r\n enum SharedActions\r\n {\r\n+    // Deathbound Ward\r\n+    ACTION_AWAKEN               = 370071,\r\n+\r\n     // Festergut\r\n     ACTION_FESTERGUT_COMBAT     = -366260,\r\n     ACTION_FESTERGUT_GAS        = -366261,\r\n```","html_url":"https://github.com/TrinityCore/TrinityCore/issues/3864","title":"[Script/ICC] Deathbound Ward","number":3864,"id":2157588,"created_at":"2011-11-06T19:48:15Z"},"action":"opened"}