Scripts/RC: added horde exclusive spawns for the Ragefire Chasm entrance and updated Oggleflint's spawn position to Cataclysm
This commit is contained in:
1 parent
e8a7a31194
commit
1d0918181d
3 files changed
+92
-6
No files matched your search
@@ -22,23 +22,28 @@ Without it, the party doing random dungeon won't get satchel of spoils and
|
||||
gets instead the deserter debuff.
|
||||
*/
|
||||
|
||||
#include "ragefire_chasm.h"
|
||||
#include "ScriptMgr.h"
|
||||
#include "InstanceScript.h"
|
||||
|
||||
class instance_ragefire_chasm : public InstanceMapScript
|
||||
{
|
||||
public:
|
||||
instance_ragefire_chasm() : InstanceMapScript("instance_ragefire_chasm", 389) { }
|
||||
instance_ragefire_chasm() : InstanceMapScript(RCScriptName, 389) { }
|
||||
|
||||
struct instance_ragefire_chasm_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_ragefire_chasm_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
|
||||
{
|
||||
SetHeaders(DataHeader);
|
||||
SetBossNumber(EncounterCount);
|
||||
}
|
||||
};
|
||||
|
||||
InstanceScript* GetInstanceScript(InstanceMap* map) const override
|
||||
{
|
||||
return new instance_ragefire_chasm_InstanceMapScript(map);
|
||||
}
|
||||
|
||||
struct instance_ragefire_chasm_InstanceMapScript : public InstanceScript
|
||||
{
|
||||
instance_ragefire_chasm_InstanceMapScript(InstanceMap* map) : InstanceScript(map) { }
|
||||
};
|
||||
};
|
||||
|
||||
void AddSC_instance_ragefire_chasm()
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#ifndef RAGEFIRE_CHASM_H_
|
||||
#define RAGEFIRE_CHASM_H_
|
||||
|
||||
#define RCScriptName "instance_ragefire_chasm"
|
||||
#define DataHeader "RC"
|
||||
|
||||
uint32 const EncounterCount = 4;
|
||||
|
||||
enum RCDataTypes
|
||||
{
|
||||
// Bosses
|
||||
DATA_OGGLEFLINT = 0,
|
||||
DATA_JERGOSH_THE_INVOKER = 1,
|
||||
DATA_BAZZALAN = 2,
|
||||
DATA_TARAGAMAN_THE_HUNGERER = 3
|
||||
};
|
||||
|
||||
#endif // RAGEFIRE_CHASM_H_
|
||||
|
||||
Reference in new issue
Block a user