mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Scripts: Placeholder for instance Ragefire Chasm.
It is needed for Random Dungeon Finder credit.
This commit is contained in:
1
sql/updates/world/2013_08_17_01_world_misc.sql
Normal file
1
sql/updates/world/2013_08_17_01_world_misc.sql
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `instance_template` SET `script`='instance_ragefire_chasm' WHERE `map`=389;
|
||||
@@ -172,6 +172,7 @@ void AddSC_boss_sulfuron();
|
||||
void AddSC_boss_majordomo();
|
||||
void AddSC_boss_ragnaros();
|
||||
void AddSC_instance_molten_core();
|
||||
void AddSC_instance_ragefire_chasm(); //Ragefire Chasm
|
||||
void AddSC_the_scarlet_enclave(); //Scarlet Enclave
|
||||
void AddSC_the_scarlet_enclave_c1();
|
||||
void AddSC_the_scarlet_enclave_c2();
|
||||
@@ -828,6 +829,7 @@ void AddEasternKingdomsScripts()
|
||||
AddSC_boss_majordomo();
|
||||
AddSC_boss_ragnaros();
|
||||
AddSC_instance_molten_core();
|
||||
AddSC_instance_ragefire_chasm(); //Ragefire Chasm
|
||||
AddSC_the_scarlet_enclave(); //Scarlet Enclave
|
||||
AddSC_the_scarlet_enclave_c1();
|
||||
AddSC_the_scarlet_enclave_c2();
|
||||
|
||||
@@ -21,6 +21,7 @@ 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"
|
||||
|
||||
|
||||
@@ -112,6 +112,7 @@ set(scripts_STAT_SRCS
|
||||
Kalimdor/OnyxiasLair/boss_onyxia.cpp
|
||||
Kalimdor/OnyxiasLair/onyxias_lair.h
|
||||
Kalimdor/OnyxiasLair/instance_onyxias_lair.cpp
|
||||
Kalimdor/RagefireChasm/instance_ragefire_chasm.cpp
|
||||
)
|
||||
|
||||
message(" -> Prepared: Kalimdor")
|
||||
|
||||
@@ -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_ragefire_chasm : public InstanceMapScript
|
||||
{
|
||||
public:
|
||||
instance_ragefire_chasm() : InstanceMapScript("instance_ragefire_chasm", 389) { }
|
||||
|
||||
InstanceScript* GetInstanceScript(InstanceMap* map) const OVERRIDE
|
||||
{
|
||||
return new instance_ragefire_chasm_InstanceMapScript(map);
|
||||
}
|
||||
|
||||
struct instance_ragefire_chasm_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_ragefire_chasm_InstanceMapScript(Map* map) : InstanceScript(map) {}
|
||||
};
|
||||
};
|
||||
|
||||
void AddSC_instance_ragefire_chasm()
|
||||
{
|
||||
new instance_ragefire_chasm();
|
||||
}
|
||||
Reference in New Issue
Block a user