mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 20:02:25 +01:00
Core/Scripts: Placeholders for instances Maraudon and Dire Maul.
It is needed for Random Dungeon Finder credit.
This commit is contained in:
2
sql/updates/world/2013_08_17_04_world_misc.sql
Normal file
2
sql/updates/world/2013_08_17_04_world_misc.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
UPDATE `instance_template` SET `script`='instance_maraudon' WHERE `map`=349;
|
||||
UPDATE `instance_template` SET `script`='instance_dire_maul' WHERE `map`=429;
|
||||
@@ -311,10 +311,12 @@ void AddSC_boss_mal_ganis();
|
||||
void AddSC_boss_meathook();
|
||||
void AddSC_culling_of_stratholme();
|
||||
void AddSC_instance_culling_of_stratholme();
|
||||
void AddSC_instance_dire_maul(); //Dire Maul
|
||||
void AddSC_boss_celebras_the_cursed(); //Maraudon
|
||||
void AddSC_boss_landslide();
|
||||
void AddSC_boss_noxxion();
|
||||
void AddSC_boss_ptheradras();
|
||||
void AddSC_instance_maraudon();
|
||||
void AddSC_boss_onyxia(); //Onyxia's Lair
|
||||
void AddSC_instance_onyxias_lair();
|
||||
void AddSC_boss_amnennar_the_coldbringer(); //Razorfen Downs
|
||||
@@ -974,10 +976,12 @@ void AddKalimdorScripts()
|
||||
AddSC_boss_meathook();
|
||||
AddSC_culling_of_stratholme();
|
||||
AddSC_instance_culling_of_stratholme();
|
||||
AddSC_instance_dire_maul(); //Dire Maul
|
||||
AddSC_boss_celebras_the_cursed(); //Maraudon
|
||||
AddSC_boss_landslide();
|
||||
AddSC_boss_noxxion();
|
||||
AddSC_boss_ptheradras();
|
||||
AddSC_instance_maraudon();
|
||||
AddSC_boss_onyxia(); //Onyxia's Lair
|
||||
AddSC_instance_onyxias_lair();
|
||||
AddSC_boss_amnennar_the_coldbringer(); //Razorfen Downs
|
||||
|
||||
@@ -67,6 +67,7 @@ set(scripts_STAT_SRCS
|
||||
Kalimdor/Maraudon/boss_landslide.cpp
|
||||
Kalimdor/Maraudon/boss_celebras_the_cursed.cpp
|
||||
Kalimdor/Maraudon/boss_noxxion.cpp
|
||||
Kalimdor/Maraudon/instance_maraudon.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/boss_fankriss.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/boss_huhuran.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/instance_temple_of_ahnqiraj.cpp
|
||||
@@ -113,6 +114,7 @@ set(scripts_STAT_SRCS
|
||||
Kalimdor/OnyxiasLair/onyxias_lair.h
|
||||
Kalimdor/OnyxiasLair/instance_onyxias_lair.cpp
|
||||
Kalimdor/RagefireChasm/instance_ragefire_chasm.cpp
|
||||
Kalimdor/DireMaul/instance_dire_maul.cpp
|
||||
)
|
||||
|
||||
message(" -> Prepared: Kalimdor")
|
||||
|
||||
47
src/server/scripts/Kalimdor/DireMaul/instance_dire_maul.cpp
Normal file
47
src/server/scripts/Kalimdor/DireMaul/instance_dire_maul.cpp
Normal file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2013 TrinityCore <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, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
This placeholder for the instance is needed for dungeon finding to be able
|
||||
to give credit after the boss defined in lastEncounterDungeon is killed.
|
||||
Without it, the party doing random dungeon won't get satchel of spoils and
|
||||
gets instead the deserter debuff.
|
||||
*/
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "InstanceScript.h"
|
||||
|
||||
class instance_dire_maul : public InstanceMapScript
|
||||
{
|
||||
public:
|
||||
instance_dire_maul() : InstanceMapScript("instance_dire_maul", 429) { }
|
||||
|
||||
InstanceScript* GetInstanceScript(InstanceMap* map) const OVERRIDE
|
||||
{
|
||||
return new instance_dire_maul_InstanceMapScript(map);
|
||||
}
|
||||
|
||||
struct instance_dire_maul_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_dire_maul_InstanceMapScript(Map* map) : InstanceScript(map) {}
|
||||
};
|
||||
};
|
||||
|
||||
void AddSC_instance_dire_maul()
|
||||
{
|
||||
new instance_dire_maul();
|
||||
}
|
||||
47
src/server/scripts/Kalimdor/Maraudon/instance_maraudon.cpp
Normal file
47
src/server/scripts/Kalimdor/Maraudon/instance_maraudon.cpp
Normal file
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2013 TrinityCore <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, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
This placeholder for the instance is needed for dungeon finding to be able
|
||||
to give credit after the boss defined in lastEncounterDungeon is killed.
|
||||
Without it, the party doing random dungeon won't get satchel of spoils and
|
||||
gets instead the deserter debuff.
|
||||
*/
|
||||
|
||||
#include "ScriptMgr.h"
|
||||
#include "InstanceScript.h"
|
||||
|
||||
class instance_maraudon : public InstanceMapScript
|
||||
{
|
||||
public:
|
||||
instance_maraudon() : InstanceMapScript("instance_maraudon", 349) { }
|
||||
|
||||
InstanceScript* GetInstanceScript(InstanceMap* map) const OVERRIDE
|
||||
{
|
||||
return new instance_maraudon_InstanceMapScript(map);
|
||||
}
|
||||
|
||||
struct instance_maraudon_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_maraudon_InstanceMapScript(Map* map) : InstanceScript(map) {}
|
||||
};
|
||||
};
|
||||
|
||||
void AddSC_instance_maraudon()
|
||||
{
|
||||
new instance_maraudon();
|
||||
}
|
||||
Reference in New Issue
Block a user