TrinityCore
instance_ragefire_chasm.cpp
Go to the documentation of this file.
1
/*
2
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3
*
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the
6
* Free Software Foundation; either version 2 of the License, or (at your
7
* option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12
* more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
/*
19
This placeholder for the instance is needed for dungeon finding to be able
20
to give credit after the boss defined in lastEncounterDungeon is killed.
21
Without it, the party doing random dungeon won't get satchel of spoils and
22
gets instead the deserter debuff.
23
*/
24
25
#include "
ScriptMgr.h
"
26
#include "
InstanceScript.h
"
27
28
class
instance_ragefire_chasm
:
public
InstanceMapScript
29
{
30
public
:
31
instance_ragefire_chasm
() :
InstanceMapScript
(
"instance_ragefire_chasm"
, 389) { }
32
33
InstanceScript
*
GetInstanceScript
(
InstanceMap
* map)
const override
34
{
35
return
new
instance_ragefire_chasm_InstanceMapScript
(map);
36
}
37
38
struct
instance_ragefire_chasm_InstanceMapScript
:
public
InstanceScript
39
{
40
instance_ragefire_chasm_InstanceMapScript
(
InstanceMap
* map) :
InstanceScript
(map) { }
41
};
42
};
43
44
void
AddSC_instance_ragefire_chasm
()
45
{
46
new
instance_ragefire_chasm
();
47
}
InstanceScript.h
ScriptMgr.h
InstanceMapScript
Definition:
ScriptMgr.h:353
InstanceMap
Definition:
Map.h:859
InstanceScript
Definition:
InstanceScript.h:183
instance_ragefire_chasm
Definition:
instance_ragefire_chasm.cpp:29
instance_ragefire_chasm::GetInstanceScript
InstanceScript * GetInstanceScript(InstanceMap *map) const override
Definition:
instance_ragefire_chasm.cpp:33
instance_ragefire_chasm::instance_ragefire_chasm
instance_ragefire_chasm()
Definition:
instance_ragefire_chasm.cpp:31
AddSC_instance_ragefire_chasm
void AddSC_instance_ragefire_chasm()
Definition:
instance_ragefire_chasm.cpp:44
instance_ragefire_chasm::instance_ragefire_chasm_InstanceMapScript
Definition:
instance_ragefire_chasm.cpp:39
instance_ragefire_chasm::instance_ragefire_chasm_InstanceMapScript::instance_ragefire_chasm_InstanceMapScript
instance_ragefire_chasm_InstanceMapScript(InstanceMap *map)
Definition:
instance_ragefire_chasm.cpp:40
server
scripts
Kalimdor
RagefireChasm
instance_ragefire_chasm.cpp
Generated on Thu Mar 14 2024 23:39:28 for TrinityCore by
1.9.4