aboutsummaryrefslogtreecommitdiff
path: root/src/bindings/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/scripts')
-rw-r--r--src/bindings/scripts/CMakeLists.txt16
-rw-r--r--src/bindings/scripts/VC80/80ScriptDev2.vcproj112
-rw-r--r--src/bindings/scripts/VC90/90ScriptDev2.vcproj116
-rw-r--r--src/bindings/scripts/scripts/zone/black_temple/boss_illidan.cpp2
-rw-r--r--src/bindings/scripts/scripts/zone/black_temple/boss_shade_of_akama.cpp2
-rw-r--r--src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_lady_vashj.cpp2
-rw-r--r--src/bindings/scripts/scripts/zone/hellfire_citadel/hellfire_ramparts/boss_omor_the_unscarred.cpp2
-rw-r--r--src/bindings/scripts/scripts/zone/sunwell_plateau/boss_brutallus.cpp2
-rw-r--r--src/bindings/scripts/scripts/zone/sunwell_plateau/boss_kiljaeden.cpp2
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_algalon.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_assembly_of_iron.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_auriaya.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_flame_leviathan.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_freya.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_general_vezax.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_hodir.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_ignis.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_kologarn.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_mimiron.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_razorscale.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_thorim.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_xt002.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_yoggsaron.cpp20
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/def_ulduar.h41
-rw-r--r--src/bindings/scripts/scripts/zone/ulduar/ulduar/instance_ulduar.cpp20
25 files changed, 543 insertions, 54 deletions
diff --git a/src/bindings/scripts/CMakeLists.txt b/src/bindings/scripts/CMakeLists.txt
index b89344f2b9d..4e2d4aa4de0 100644
--- a/src/bindings/scripts/CMakeLists.txt
+++ b/src/bindings/scripts/CMakeLists.txt
@@ -478,6 +478,22 @@ SET(trinityscript_LIB_SRCS
scripts/zone/vault_of_archavon/boss_archavon.cpp
scripts/zone/vault_of_archavon/def_vault_of_archavon.h
scripts/zone/wintergrasp/wintergrasp.cpp
+ scripts/zone/ulduar/ulduar/boss_algalon.cpp
+ scripts/zone/ulduar/ulduar/boss_assembly_of_iron.cpp
+ scripts/zone/ulduar/ulduar/boss_auriaya.cpp
+ scripts/zone/ulduar/ulduar/boss_flame_leviathan.cpp
+ scripts/zone/ulduar/ulduar/boss_freya.cpp
+ scripts/zone/ulduar/ulduar/boss_general_vezax.cpp
+ scripts/zone/ulduar/ulduar/boss_hodir.cpp
+ scripts/zone/ulduar/ulduar/boss_ignis.cpp
+ scripts/zone/ulduar/ulduar/boss_kologarn.cpp
+ scripts/zone/ulduar/ulduar/boss_mimiron.cpp
+ scripts/zone/ulduar/ulduar/boss_razorscale.cpp
+ scripts/zone/ulduar/ulduar/boss_thorim.cpp
+ scripts/zone/ulduar/ulduar/boss_xt002.cpp
+ scripts/zone/ulduar/ulduar/boss_yoggsaron.cpp
+ scripts/zone/ulduar/ulduar/def_ulduar.h
+ scripts/zone/ulduar/ulduar/instance_ulduar.cpp
system.cpp
)
diff --git a/src/bindings/scripts/VC80/80ScriptDev2.vcproj b/src/bindings/scripts/VC80/80ScriptDev2.vcproj
index afe05d56e58..b3eb1437c02 100644
--- a/src/bindings/scripts/VC80/80ScriptDev2.vcproj
+++ b/src/bindings/scripts/VC80/80ScriptDev2.vcproj
@@ -2514,30 +2514,22 @@
<Filter
Name="Nexus"
>
- <File
- RelativePath="..\scripts\zone\nexus\nexus\boss_magus_telestra.cpp"
- >
- </File>
- <File
- RelativePath="..\scripts\zone\nexus\nexus\boss_anomalus.cpp"
- >
- </File>
- <File
- RelativePath="..\scripts\zone\nexus\nexus\boss_ormorok.cpp"
- >
- </File>
- <File
- RelativePath="..\scripts\zone\nexus\nexus\boss_keristrasza.cpp"
- >
- </File>
- <File
- RelativePath="..\scripts\zone\nexus\nexus\def_nexus.h"
- >
- </File>
- <File
- RelativePath="..\scripts\zone\nexus\nexus\instance_nexus.cpp"
- >
- </File>
+ <File
+ RelativePath="..\scripts\zone\nexus\nexus\boss_anomalus.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\nexus\nexus\boss_keristrasza.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\nexus\nexus\boss_magus_telestra.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\nexus\nexus\boss_ormorok.cpp"
+ >
+ </File>
<File
RelativePath="..\scripts\zone\nexus\nexus\commander_kolurg.cpp"
>
@@ -2547,6 +2539,10 @@
>
</File>
<File
+ RelativePath="..\scripts\zone\nexus\nexus\def_nexus.h"
+ >
+ </File>
+ <File
RelativePath="..\scripts\zone\nexus\nexus\instance_nexus.cpp"
>
</File>
@@ -2667,6 +2663,74 @@
>
</File>
</Filter>
+ <Filter
+ Name="Ulduar"
+ >
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_algalon.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_assembly_of_iron.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_auriaya.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_flame_leviathan.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_freya.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_general_vezax.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_hodir.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_ignis.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_kologarn.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_mimiron.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_razorscale.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_thorim.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_xt002.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_yoggsaron.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\def_ulduar.h"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\instance_ulduar.cpp"
+ >
+ </File>
+ </Filter>
</Filter>
<Filter
Name="Utgarde Keep"
diff --git a/src/bindings/scripts/VC90/90ScriptDev2.vcproj b/src/bindings/scripts/VC90/90ScriptDev2.vcproj
index bf6ee205867..95f44bd2275 100644
--- a/src/bindings/scripts/VC90/90ScriptDev2.vcproj
+++ b/src/bindings/scripts/VC90/90ScriptDev2.vcproj
@@ -2513,30 +2513,22 @@
<Filter
Name="Nexus"
>
- <File
- RelativePath="..\scripts\zone\nexus\nexus\boss_magus_telestra.cpp"
- >
- </File>
- <File
- RelativePath="..\scripts\zone\nexus\nexus\boss_anomalus.cpp"
- >
- </File>
- <File
- RelativePath="..\scripts\zone\nexus\nexus\boss_ormorok.cpp"
- >
- </File>
- <File
- RelativePath="..\scripts\zone\nexus\nexus\boss_keristrasza.cpp"
- >
- </File>
- <File
- RelativePath="..\scripts\zone\nexus\nexus\def_nexus.h"
- >
- </File>
- <File
- RelativePath="..\scripts\zone\nexus\nexus\instance_nexus.cpp"
- >
- </File>
+ <File
+ RelativePath="..\scripts\zone\nexus\nexus\boss_anomalus.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\nexus\nexus\boss_keristrasza.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\nexus\nexus\boss_magus_telestra.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\nexus\nexus\boss_ormorok.cpp"
+ >
+ </File>
<File
RelativePath="..\scripts\zone\nexus\nexus\commander_kolurg.cpp"
>
@@ -2545,6 +2537,14 @@
RelativePath="..\scripts\zone\nexus\nexus\commander_stoutbeard.cpp"
>
</File>
+ <File
+ RelativePath="..\scripts\zone\nexus\nexus\def_nexus.h"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\nexus\nexus\instance_nexus.cpp"
+ >
+ </File>
</Filter>
<Filter
Name="Oculus"
@@ -2662,6 +2662,74 @@
>
</File>
</Filter>
+ <Filter
+ Name="Ulduar"
+ >
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_algalon.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_assembly_of_iron.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_auriaya.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_flame_leviathan.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_freya.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_general_vezax.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_hodir.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_ignis.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_kologarn.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_mimiron.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_razorscale.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_thorim.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_xt002.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\boss_yoggsaron.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\def_ulduar.h"
+ >
+ </File>
+ <File
+ RelativePath="..\scripts\zone\ulduar\ulduar\instance_ulduar.cpp"
+ >
+ </File>
+ </Filter>
</Filter>
<Filter
Name="Utgarde Keep"
diff --git a/src/bindings/scripts/scripts/zone/black_temple/boss_illidan.cpp b/src/bindings/scripts/scripts/zone/black_temple/boss_illidan.cpp
index e8b57f78e9c..55625b18eb6 100644
--- a/src/bindings/scripts/scripts/zone/black_temple/boss_illidan.cpp
+++ b/src/bindings/scripts/scripts/zone/black_temple/boss_illidan.cpp
@@ -2003,7 +2003,7 @@ void boss_illidan_stormrageAI::CastEyeBlast()
if(!Trigger) return;
Trigger->SetSpeed(MOVE_WALK, 3);
- Trigger->SetUnitMovementFlags(MOVEMENTFLAG_WALK_MODE);
+ Trigger->AddUnitMovementFlag(MOVEMENTFLAG_WALK_MODE);
Trigger->GetMotionMaster()->MovePoint(0, final.x, final.y, final.z);
//Trigger->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
diff --git a/src/bindings/scripts/scripts/zone/black_temple/boss_shade_of_akama.cpp b/src/bindings/scripts/scripts/zone/black_temple/boss_shade_of_akama.cpp
index 587d9934a51..ed6bc3dcf15 100644
--- a/src/bindings/scripts/scripts/zone/black_temple/boss_shade_of_akama.cpp
+++ b/src/bindings/scripts/scripts/zone/black_temple/boss_shade_of_akama.cpp
@@ -674,7 +674,7 @@ struct TRINITY_DLL_DECL npc_akamaAI : public ScriptedAI
{
ShadeHasDied = true;
WayPointId = 0;
- m_creature->SetUnitMovementFlags(MOVEMENTFLAG_WALK_MODE);
+ m_creature->AddUnitMovementFlag(MOVEMENTFLAG_WALK_MODE);
m_creature->GetMotionMaster()->MovePoint(WayPointId, AkamaWP[0].x, AkamaWP[0].y, AkamaWP[0].z);
}
if(Shade && Shade->isAlive())
diff --git a/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_lady_vashj.cpp b/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_lady_vashj.cpp
index 8e5ed16688c..ea7745ce6ec 100644
--- a/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_lady_vashj.cpp
+++ b/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_lady_vashj.cpp
@@ -638,7 +638,7 @@ struct TRINITY_DLL_DECL mob_enchanted_elementalAI : public ScriptedAI
if(move < diff)
{
- m_creature->SetUnitMovementFlags(MOVEMENTFLAG_WALK_MODE);
+ m_creature->AddUnitMovementFlag(MOVEMENTFLAG_WALK_MODE);
if (phase == 1)
{
m_creature->GetMotionMaster()->MovePoint(0, x, y, z);
diff --git a/src/bindings/scripts/scripts/zone/hellfire_citadel/hellfire_ramparts/boss_omor_the_unscarred.cpp b/src/bindings/scripts/scripts/zone/hellfire_citadel/hellfire_ramparts/boss_omor_the_unscarred.cpp
index 99130528eb8..03b99e0ef36 100644
--- a/src/bindings/scripts/scripts/zone/hellfire_citadel/hellfire_ramparts/boss_omor_the_unscarred.cpp
+++ b/src/bindings/scripts/scripts/zone/hellfire_citadel/hellfire_ramparts/boss_omor_the_unscarred.cpp
@@ -128,7 +128,7 @@ struct TRINITY_DLL_DECL boss_omor_the_unscarredAI : public Scripted_NoMovementAI
{
if (ShadowWhip_Timer < diff)
{
- if (Unit* temp = Unit::GetUnit(*m_creature,playerGUID))
+ if (Player* temp = Unit::GetPlayer(playerGUID))
{
//if unit dosen't have this flag, then no pulling back (script will attempt cast, even if orbital strike was resisted)
if (temp->HasUnitMovementFlag(MOVEMENTFLAG_FALLING))
diff --git a/src/bindings/scripts/scripts/zone/sunwell_plateau/boss_brutallus.cpp b/src/bindings/scripts/scripts/zone/sunwell_plateau/boss_brutallus.cpp
index 7f4e6f7fdcd..d06873bc0bf 100644
--- a/src/bindings/scripts/scripts/zone/sunwell_plateau/boss_brutallus.cpp
+++ b/src/bindings/scripts/scripts/zone/sunwell_plateau/boss_brutallus.cpp
@@ -195,7 +195,7 @@ struct TRINITY_DLL_DECL boss_brutallusAI : public ScriptedAI
break;
case 3:
DoCast(m_creature, SPELL_INTRO_FROST_BLAST);
- Madrigosa->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT + MOVEMENTFLAG_LEVITATING);
+ Madrigosa->AddUnitMovementFlag(MOVEMENTFLAG_LEVITATING);
IntroFrostBoltTimer = 3000;
IntroPhaseTimer = 28000;
++IntroPhase;
diff --git a/src/bindings/scripts/scripts/zone/sunwell_plateau/boss_kiljaeden.cpp b/src/bindings/scripts/scripts/zone/sunwell_plateau/boss_kiljaeden.cpp
index cb0ee4b7f78..caf39318dd7 100644
--- a/src/bindings/scripts/scripts/zone/sunwell_plateau/boss_kiljaeden.cpp
+++ b/src/bindings/scripts/scripts/zone/sunwell_plateau/boss_kiljaeden.cpp
@@ -1046,7 +1046,7 @@ struct TRINITY_DLL_DECL mob_shield_orbAI : public ScriptedAI
float x, y, r, c, mx, my;
void InitializeAI(){
- m_creature->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT + MOVEMENTFLAG_LEVITATING);
+ m_creature->AddUnitMovementFlag(MOVEMENTFLAG_LEVITATING);
PointReached = true;
Timer = 500+ rand()%500;
CheckTimer = 1000;
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_algalon.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_algalon.cpp
new file mode 100644
index 00000000000..311554c0a18
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_algalon.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h" \ No newline at end of file
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_assembly_of_iron.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_assembly_of_iron.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_assembly_of_iron.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_auriaya.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_auriaya.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_auriaya.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_flame_leviathan.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_flame_leviathan.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_flame_leviathan.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_freya.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_freya.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_freya.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_general_vezax.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_general_vezax.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_general_vezax.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_hodir.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_hodir.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_hodir.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_ignis.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_ignis.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_ignis.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_kologarn.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_kologarn.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_kologarn.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_mimiron.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_mimiron.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_mimiron.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_razorscale.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_razorscale.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_razorscale.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_thorim.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_thorim.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_thorim.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_xt002.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_xt002.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_xt002.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_yoggsaron.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_yoggsaron.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/boss_yoggsaron.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/def_ulduar.h b/src/bindings/scripts/scripts/zone/ulduar/ulduar/def_ulduar.h
new file mode 100644
index 00000000000..d73e6324fc8
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/def_ulduar.h
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef DEF_ULDUAR_H
+#define DEF_ULDUAR_H
+
+enum Encounter
+{
+ BOSS_LEVIATHAN,
+ BOSS_IGNIS,
+ BOSS_RAZORSCALE,
+ BOSS_XT002,
+ BOSS_ASSEMBLY,
+ BOSS_KOLOGARN,
+ BOSS_AURIAYA,
+ BOSS_MIMIRON,
+ BOSS_HODIR,
+ BOSS_THORIM,
+ BOSS_FREYA,
+ BOSS_VEZAX,
+ BOSS_YOGGSARON,
+ BOSS_ALGALON,
+ MAX_BOSS_NUMBER
+};
+
+#endif
diff --git a/src/bindings/scripts/scripts/zone/ulduar/ulduar/instance_ulduar.cpp b/src/bindings/scripts/scripts/zone/ulduar/ulduar/instance_ulduar.cpp
new file mode 100644
index 00000000000..a736b2db12a
--- /dev/null
+++ b/src/bindings/scripts/scripts/zone/ulduar/ulduar/instance_ulduar.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright (C) 2008 - 2009 Trinity <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "precompiled.h"
+#include "def_ulduar.h"