/* * Copyright (C) 2011-2012 DarkCore <
http://www.darkpeninsula.eu/> * Copyright (C) 2011-2012 Project SkyFire <
http://www.projectskyfire.org/> * Copyright (C) 2008-2012 TrinityCore <
http://www.trinitycore.org/> * Copyright (C) 2005-2012 MaNGOS <
http://getmangos.com/> * 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 3 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/>. *//* ScriptDataSDName: Instance_Shadowfang_KeepSD%Complete: 90SDComment:SDCategory: Shadowfang KeepEndScriptData */#include "ScriptPCH.h"#include "shadowfang_keep.h"#define MAX_ENCOUNTER 4/* Shadowfang Keep encounters:0 - Commander Springvale1 - Baron Ashbury2 - Baron Silverlaine3 - Commander Grimburg*/class instance_shadowfang_keep : public InstanceMapScript{public: instance_shadowfang_keep() : InstanceMapScript("instance_shadowfang_keep", 33) { } InstanceScript* GetInstanceScript(InstanceMap* pMap) const { return new instance_shadowfang_keep_InstanceMapScript(pMap); } struct instance_shadowfang_keep_InstanceMapScript : public InstanceScript { instance_shadowfang_keep_InstanceMapScript(Map* pMap) : InstanceScript(p