aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiscover- <amort11@hotmail.com>2013-08-10 16:31:52 +0100
committerNay <dnpd.dd@gmail.com>2013-08-10 16:31:52 +0100
commit488128bada02784a2eeca392d0ad7d3e6ebfd255 (patch)
tree43edc5aab3b7b136593bb5c9cefadc5b2371e612
parentb33f80aa18a66a85508a9aa315092d0482d89638 (diff)
DB/EAI: Fix unit_field changes, outdated since initial 3.x versions
-rw-r--r--sql/updates/world/2013_08_10_00_world_eai.sql4
-rw-r--r--src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp4
2 files changed, 6 insertions, 2 deletions
diff --git a/sql/updates/world/2013_08_10_00_world_eai.sql b/sql/updates/world/2013_08_10_00_world_eai.sql
new file mode 100644
index 00000000000..445e86712bc
--- /dev/null
+++ b/sql/updates/world/2013_08_10_00_world_eai.sql
@@ -0,0 +1,4 @@
+UPDATE `creature_ai_scripts` SET `action1_param1`=`action1_param1` + 1 WHERE `action1_type`=17;
+UPDATE `creature_ai_scripts` SET `action2_param1`=`action2_param1` + 1 WHERE `action2_type`=17;
+UPDATE `creature_ai_scripts` SET `action3_param1`=`action3_param1` + 1 WHERE `action3_type`=17;
+UPDATE `creature_ai_scripts` SET `action1_param1`=25 WHERE `id`=1531201;
diff --git a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
index ef3162d892e..4da66452d48 100644
--- a/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
+++ b/src/server/scripts/Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
@@ -96,7 +96,7 @@ enum Spells
SPELL_PORTAL_BEAM = 56046, // Malygos cast on portal to activate it during PHASE_NOT_STARTED
//Phase I
- SPELL_BERSEKER = 60670,
+ SPELL_BERSERK = 60670,
SPELL_MALYGOS_BERSERK = 47008, // it's the berserk spell that will hit only Malygos after 10 min of 60670
SPELL_PORTAL_VISUAL_CLOSED = 55949,
SPELL_SUMMON_POWER_PARK = 56142,
@@ -580,7 +580,7 @@ public:
}
Talk(SAY_START_P_ONE);
- DoCast(SPELL_BERSEKER); // periodic aura, first tick in 10 minutes
+ DoCast(SPELL_BERSERK); // periodic aura, first tick in 10 minutes
if (instance)
instance->DoStartTimedAchievement(ACHIEVEMENT_TIMED_TYPE_EVENT, ACHIEV_TIMED_START_EVENT);
}