BuildSystem/ALL: Remove unused custom code (most are duplicated as in examples)
+ remove fileglobbing for scripts (less error-prone) + Create proper lists per "scriptsection" NOTE! This change requires new files (cpp/h) to be MANUALLY ADDED to <type>/CmakeLists.txt --HG-- branch : trunk
This commit is contained in:
@@ -25,9 +25,7 @@ if( SERVERS )
|
||||
add_subdirectory(game)
|
||||
add_subdirectory(collision)
|
||||
add_subdirectory(authserver)
|
||||
if( SCRIPTS )
|
||||
add_subdirectory(scripts)
|
||||
endif()
|
||||
add_subdirectory(worldserver)
|
||||
else()
|
||||
if( TOOLS )
|
||||
|
||||
@@ -8,15 +8,6 @@
|
||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
file(GLOB_RECURSE scripts_easternkingdoms EasternKingdoms/*.cpp EasternKingdoms/*.h)
|
||||
file(GLOB_RECURSE scripts_kalimdor Kalimdor/*.cpp Kalimdor/*.h)
|
||||
file(GLOB_RECURSE scripts_northrend Northrend/*.cpp Northrend/*.h)
|
||||
file(GLOB_RECURSE scripts_outland Outland/*.cpp Outland/*.h)
|
||||
file(GLOB_RECURSE scripts_world World/*.cpp World/*.h)
|
||||
file(GLOB_RECURSE scripts_spells Spells/*.cpp Spells/*.h)
|
||||
file(GLOB_RECURSE scripts_examples Examples/*.cpp Examples/*.h)
|
||||
file(GLOB_RECURSE scripts_outdoorpvp OutdoorPvP/*.cpp OutdoorPvP/*.h)
|
||||
|
||||
# Enable precompiled headers when using the GCC compiler.
|
||||
if( USE_SCRIPTPCH )
|
||||
include_directories(
|
||||
@@ -31,16 +22,14 @@ if( USE_SCRIPTPCH AND MSVC )
|
||||
)
|
||||
endif()
|
||||
|
||||
message(STATUS "SCRIPT PREPARATIONS")
|
||||
include(Spells/CMakeLists.txt)
|
||||
|
||||
# Disabled, examples are not used in core
|
||||
#include(Examples/CMakeLists.txt)
|
||||
|
||||
set(scripts_STAT_SRCS
|
||||
${scripts_STAT_SRCS}
|
||||
${scripts_easternkingdoms}
|
||||
${scripts_kalimdor}
|
||||
${scripts_northrend}
|
||||
${scripts_outland}
|
||||
${scripts_world}
|
||||
${scripts_spells}
|
||||
${scripts_examples}
|
||||
${scripts_outdoorpvp}
|
||||
../game/AI/ScriptedAI/ScriptedEscortAI.cpp
|
||||
../game/AI/ScriptedAI/ScriptedCreature.cpp
|
||||
../game/AI/ScriptedAI/ScriptedFollowerAI.cpp
|
||||
@@ -48,7 +37,18 @@ set(scripts_STAT_SRCS
|
||||
../game/AI/ScriptedAI/ScriptedSimpleAI.cpp
|
||||
)
|
||||
|
||||
message("-- Added Script Library to SCRIPTS lib")
|
||||
if(SCRIPTS)
|
||||
include(Custom/CMakeLists.txt)
|
||||
include(World/CMakeLists.txt)
|
||||
include(OutdoorPvP/CMakeLists.txt)
|
||||
include(EasternKingdoms/CMakeLists.txt)
|
||||
include(Kalimdor/CMakeLists.txt)
|
||||
include(Outland/CMakeLists.txt)
|
||||
include(Northrend/CMakeLists.txt)
|
||||
endif()
|
||||
|
||||
message(STATUS "SCRIPT PREPARATION COMPLETE")
|
||||
message("")
|
||||
|
||||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
set(scripts_STAT_SRCS
|
||||
${scripts_STAT_SRCS}
|
||||
)
|
||||
|
||||
message(" -> Prepared: Custom")
|
||||
@@ -1,276 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2010 TrinityCore <http://www.trinitycore.org/>
|
||||
* Copyright (C) 2006-2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
/* ScriptData
|
||||
SDName: Custom_Example
|
||||
SD%Complete: 100
|
||||
SDComment: Short custom scripting example
|
||||
SDCategory: Script Examples
|
||||
EndScriptData */
|
||||
|
||||
#include "precompiled.h"
|
||||
|
||||
// **** This script is designed as an example for others to build on ****
|
||||
// **** Please modify whatever you'd like to as this script is only for developement ****
|
||||
|
||||
// **** Script Info ****
|
||||
// This script is written in a way that it can be used for both friendly and hostile monsters
|
||||
// Its primary purpose is to show just how much you can really do with scripts
|
||||
// I recommend trying it out on both an agressive NPC and on friendly npc
|
||||
|
||||
// **** Quick Info ****
|
||||
// Functions with Handled Function marked above them are functions that are called automatically by the core
|
||||
// Functions that are marked Custom Function are functions I've created to simplify code
|
||||
|
||||
#define SPELL_BUFF 25661
|
||||
#define SPELL_ONE 12555
|
||||
#define SPELL_ONE_ALT 24099
|
||||
#define SPELL_TWO 10017
|
||||
#define SPELL_THREE 26027
|
||||
#define SPELL_ENRAGE 23537
|
||||
#define SPELL_BESERK 32309
|
||||
|
||||
#define SAY_AGGRO "Let the games begin."
|
||||
#define SAY_RANDOM_0 "I see endless suffering. I see torment. I see rage. I see everything."
|
||||
#define SAY_RANDOM_1 "Muahahahaha"
|
||||
#define SAY_RANDOM_2 "These mortal infedels my lord, they have invaded your sanctum and seek to steal your secrets."
|
||||
#define SAY_RANDOM_3 "You are already dead."
|
||||
#define SAY_RANDOM_4 "Where to go? What to do? So many choices that all end in pain, end in death."
|
||||
#define SAY_BESERK "$N, I sentance you to death!"
|
||||
#define SAY_PHASE "The suffering has just begun!"
|
||||
|
||||
#define GOSSIP_ITEM "I'm looking for a fight"
|
||||
#define SAY_DANCE "I always thought I was a good dancer"
|
||||
#define SAY_SALUTE "Move out Soldier!"
|
||||
|
||||
//This is the GetAI method used by all scripts that involve AI
|
||||
//It is called every time a new Creature using this script is created
|
||||
class custom_example : public CreatureScript
|
||||
{
|
||||
public:
|
||||
custom_example() : CreatureScript("custom_example") { }
|
||||
|
||||
bool OnReceiveEmote(Player* pPlayer, Creature* pCreature, uint32 emote)
|
||||
{
|
||||
pCreature->HandleEmoteCommand(emote);
|
||||
|
||||
if (emote == TEXTEMOTE_DANCE)
|
||||
((custom_exampleAI*)_Creature->AI())->DoSay(SAY_DANCE,LANG_UNIVERSAL,NULL);
|
||||
|
||||
if (emote == TEXTEMOTE_SALUTE)
|
||||
((custom_exampleAI*)_Creature->AI())->DoSay(SAY_SALUTE,LANG_UNIVERSAL,NULL);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OnGossipSelect(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction)
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
if (uiSender == GOSSIP_SENDER_MAIN)
|
||||
SendDefaultMenu(pPlayer, pCreature, uiAction);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OnGossipHello(Player* pPlayer, Creature* pCreature)
|
||||
{
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ITEM , GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1);
|
||||
pPlayer->PlayerTalkClass->SendGossipMenu(907, pCreature->GetGUID());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
//This function is called when the player clicks an option on the gossip menu
|
||||
void SendDefaultMenu(Player* pPlayer, Creature* pCreature, uint32 uiAction)
|
||||
{
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF + 1) //Fight time
|
||||
{
|
||||
//Set our faction to hostile twoards all
|
||||
pCreature->setFaction(24);
|
||||
pCreature->Attack(pPlayer, true);
|
||||
pPlayer->PlayerTalkClass->CloseGossip();
|
||||
}
|
||||
}
|
||||
|
||||
CreatureAI* GetAI(Creature* pCreature) const
|
||||
{
|
||||
return new custom_exampleAI (pCreature);
|
||||
}
|
||||
|
||||
struct custom_exampleAI : public ScriptedAI
|
||||
{
|
||||
//*** HANDLED FUNCTION ***
|
||||
//This is the constructor, called only once when the Creature is first created
|
||||
custom_exampleAI(Creature *c) : ScriptedAI(c) {}
|
||||
|
||||
//*** CUSTOM VARIABLES ****
|
||||
//These variables are for use only by this individual script.
|
||||
//Nothing else will ever call them but us.
|
||||
|
||||
uint32 Say_Timer; //Timer for random chat
|
||||
uint32 Rebuff_Timer; //Timer for rebuffing
|
||||
uint32 Spell_1_Timer; //Timer for spell 1 when in combat
|
||||
uint32 Spell_2_Timer; //Timer for spell 1 when in combat
|
||||
uint32 Spell_3_Timer; //Timer for spell 1 when in combat
|
||||
uint32 Beserk_Timer; //Timer until we go into Beserk (enraged) mode
|
||||
uint32 Phase; //The current battle phase we are in
|
||||
uint32 Phase_Timer; //Timer until phase transition
|
||||
|
||||
//*** HANDLED FUNCTION ***
|
||||
//This is called whenever the core decides we need to evade
|
||||
void Reset()
|
||||
{
|
||||
Phase = 1; //Start in phase 1
|
||||
Phase_Timer = 60000; //60 seconds
|
||||
Spell_1_Timer = 5000; //5 seconds
|
||||
Spell_2_Timer = 37000; //37 seconds
|
||||
Spell_3_Timer = 19000; //19 seconds
|
||||
Beserk_Timer = 120000; //2 minutes
|
||||
}
|
||||
|
||||
//*** HANDLED FUNCTION ***
|
||||
//Attack Start is called whenever someone hits us.
|
||||
void EnterCombat(Unit *who)
|
||||
{
|
||||
//Say some stuff
|
||||
DoSay(SAY_AGGRO,LANG_UNIVERSAL,NULL);
|
||||
DoPlaySoundToSet(me,8280);
|
||||
}
|
||||
|
||||
//*** HANDLED FUNCTION ***
|
||||
//Update AI is called Every single map update (roughly once every 100ms if a player is within the grid)
|
||||
void UpdateAI(const uint32 diff)
|
||||
{
|
||||
//Out of combat timers
|
||||
if (!me->getVictim())
|
||||
{
|
||||
//Random Say timer
|
||||
if (Say_Timer < diff)
|
||||
{
|
||||
//Random switch between 5 outcomes
|
||||
switch (rand()%5)
|
||||
{
|
||||
case 0:
|
||||
DoYell(SAY_RANDOM_0,LANG_UNIVERSAL,NULL);
|
||||
DoPlaySoundToSet(me,8831); //8831 is the index of the sound we are playing. You find these numbers in SoundEntries.dbc
|
||||
break;
|
||||
|
||||
case 1:
|
||||
DoYell(SAY_RANDOM_1,LANG_UNIVERSAL,NULL);
|
||||
DoPlaySoundToSet(me,8818);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
DoYell(SAY_RANDOM_2,LANG_UNIVERSAL,NULL);
|
||||
DoPlaySoundToSet(me,8041);
|
||||
break;
|
||||
|
||||
case 3:
|
||||
DoYell(SAY_RANDOM_3,LANG_UNIVERSAL,NULL);
|
||||
DoPlaySoundToSet(me,8581);
|
||||
break;
|
||||
|
||||
case 4:
|
||||
DoYell(SAY_RANDOM_4,LANG_UNIVERSAL,NULL);
|
||||
DoPlaySoundToSet(me,8791);
|
||||
break;
|
||||
}
|
||||
|
||||
Say_Timer = 45000; //Say something agian in 45 seconds
|
||||
}else Say_Timer -= diff;
|
||||
|
||||
//Rebuff timer
|
||||
if (Rebuff_Timer < diff)
|
||||
{
|
||||
DoCast(me,SPELL_BUFF);
|
||||
Rebuff_Timer = 900000; //Rebuff agian in 15 minutes
|
||||
}else Rebuff_Timer -= diff;
|
||||
}
|
||||
|
||||
//Return since we have no target
|
||||
if (!UpdateVictim())
|
||||
return;
|
||||
|
||||
//Spell 1 timer
|
||||
if (Spell_1_Timer < diff)
|
||||
{
|
||||
//Cast spell one on our current target.
|
||||
if (rand()%50 > 10)
|
||||
DoCast(me->getVictim(),SPELL_ONE_ALT);
|
||||
else if (me->IsWithinDist(me->getVictim(), 25))
|
||||
DoCast(me->getVictim(),SPELL_ONE);
|
||||
|
||||
Spell_1_Timer = 5000;
|
||||
}else Spell_1_Timer -= diff;
|
||||
|
||||
//Spell 2 timer
|
||||
if (Spell_2_Timer < diff)
|
||||
{
|
||||
//Cast spell one on our current target.
|
||||
DoCast(me->getVictim(),SPELL_TWO);
|
||||
|
||||
Spell_2_Timer = 37000;
|
||||
}else Spell_2_Timer -= diff;
|
||||
|
||||
//Spell 3 timer
|
||||
if (Phase > 1)
|
||||
if (Spell_3_Timer < diff)
|
||||
{
|
||||
//Cast spell one on our current target.
|
||||
DoCast(me->getVictim(),SPELL_THREE);
|
||||
|
||||
Spell_3_Timer = 19000;
|
||||
}else Spell_3_Timer -= diff;
|
||||
|
||||
//Beserk timer
|
||||
if (Phase > 1)
|
||||
if (Beserk_Timer < diff)
|
||||
{
|
||||
//Say our line then cast uber death spell
|
||||
DoPlaySoundToSet(me,8588);
|
||||
DoYell(SAY_BESERK,LANG_UNIVERSAL,me->getVictim());
|
||||
DoCast(me->getVictim(),SPELL_BESERK);
|
||||
|
||||
//Cast our beserk spell agian in 12 seconds if we didn't kill everyone
|
||||
Beserk_Timer = 12000;
|
||||
}else Beserk_Timer -= diff;
|
||||
|
||||
//Phase timer
|
||||
if (Phase == 1)
|
||||
if (Phase_Timer < diff)
|
||||
{
|
||||
//Go to next phase
|
||||
Phase++;
|
||||
DoYell(SAY_PHASE,LANG_UNIVERSAL,NULL);
|
||||
DoCast(me,SPELL_ENRAGE);
|
||||
}else Phase_Timer -= diff;
|
||||
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
//This is the actual function called only once durring InitScripts()
|
||||
//It must define all handled functions that are to be run in this script
|
||||
//For example if you want this Script to handle Emotes you must include
|
||||
//newscript->ReciveEmote = My_Emote_Function;
|
||||
void AddSC_custom_example()
|
||||
{
|
||||
new custom_example();
|
||||
}
|
||||
@@ -1,92 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2010 TrinityCore <http://www.trinitycore.org/>
|
||||
* Copyright (C) 2006-2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
/* ScriptData
|
||||
SDName: Custom_Gossip_Codebox
|
||||
SD%Complete: 100
|
||||
SDComment: Show a codebox in gossip option
|
||||
SDCategory: Script Examples
|
||||
EndScriptData */
|
||||
|
||||
#include "precompiled.h"
|
||||
#include <cstring>
|
||||
|
||||
#define GOSSIP_ITEM_EXTENDED "A quiz: what's your name?"
|
||||
#define GOSSIP_ITEM "I'm not interested"
|
||||
|
||||
#define SAY_NOT_INTERESTED "Normal select, guess you're not interested."
|
||||
#define SAY_WRONG "Wrong!"
|
||||
#define SAY_RIGHT "You're right, you are allowed to see my inner secrets."
|
||||
|
||||
//This function is called when the player opens the gossip menubool
|
||||
class custom_gossip_codebox : public GameObjectScript
|
||||
{
|
||||
public:
|
||||
custom_gossip_codebox() : GameObjectScript("custom_gossip_codebox") { }
|
||||
|
||||
bool GossipSelectWithCode(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction, const char* sCode)
|
||||
{
|
||||
if (uiSender == GOSSIP_SENDER_MAIN)
|
||||
{
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF+1)
|
||||
{
|
||||
if (std::strcmp(sCode, pPlayer->GetName())!=0)
|
||||
{
|
||||
pCreature->Say(SAY_WRONG, LANG_UNIVERSAL, 0);
|
||||
pCreature->CastSpell(pPlayer, 12826, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
pCreature->Say(SAY_RIGHT, LANG_UNIVERSAL, 0);
|
||||
pCreature->CastSpell(pPlayer, 26990, true);
|
||||
}
|
||||
pPlayer->CLOSE_GOSSIP_MENU();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool GossipSelect(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction)
|
||||
{
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF+2)
|
||||
{
|
||||
pCreature->Say(SAY_NOT_INTERESTED, LANG_UNIVERSAL, 0);
|
||||
pPlayer->CLOSE_GOSSIP_MENU();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GossipHello(Player* pPlayer, Creature* pCreature)
|
||||
{
|
||||
pPlayer->ADD_GOSSIP_ITEM_EXTENDED(0, GOSSIP_ITEM, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1, "", 0, true);
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ITEM, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+2);
|
||||
|
||||
pPlayer->PlayerTalkClass->SendGossipMenu(907, pCreature->GetGUID());
|
||||
return true;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
//This function is called when the player clicks an option on the gossip menubool
|
||||
|
||||
|
||||
void AddSC_custom_gossip_codebox()
|
||||
{
|
||||
new custom_gossip_codebox();
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2010 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/>.
|
||||
*/
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
#include "WorldPacket.h"
|
||||
|
||||
#define GOSSIP_FLIGHT "I need a ride"
|
||||
|
||||
class npc_acherus_taxi : public CreatureScript
|
||||
{
|
||||
public:
|
||||
npc_acherus_taxi() : CreatureScript("npc_acherus_taxi") { }
|
||||
|
||||
bool OnGossipHello(Player *pPlayer, Creature *pCreature)
|
||||
{
|
||||
pPlayer->SetTaxiCheater(true);
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_FLIGHT, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1);
|
||||
pPlayer->SEND_GOSSIP_MENU(9978, pCreature->GetGUID());
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OnGossipSelect(Player *pPlayer, Creature * /*pCreature*/, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF + 1)
|
||||
{
|
||||
if (pPlayer->GetPositionZ() >= 316)
|
||||
pPlayer->GetSession()->SendDoFlight(24446, 1053);
|
||||
else
|
||||
pPlayer->GetSession()->SendDoFlight(24446, 1054);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
void AddSC_npc_acherus_taxi()
|
||||
{
|
||||
new npc_acherus_taxi;
|
||||
}
|
||||
@@ -1,116 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2010 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/>.
|
||||
*/
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
#include "WorldPacket.h"
|
||||
|
||||
#define GOSSIP_UP "My Lord, I must go to the upper floor of the temple."
|
||||
#define GOSSIP_DOWN "I would like to take a flight to the ground, Lord Afrasastrasz."
|
||||
#define GOSSIP_MIDDLE "Can you spare a drake to travel to Lord Afrasastrasz, in the middle of the temple?"
|
||||
#define GOSSIP_TOP "Please, Let me take one of these dragons to the top floor of the temple."
|
||||
#define GOSSIP_BOTTOM "Yes, Please. I would like to return to the ground floor of the temple."
|
||||
#define GOSSIP_ONEDOWN "I would like to see Lord Afrasastrasz, in the middle of the temple."
|
||||
|
||||
class npc_wyrmrest_temple_middle_taxi : public CreatureScript
|
||||
{
|
||||
public:
|
||||
npc_wyrmrest_temple_middle_taxi() : CreatureScript("npc_wyrmresttempelmiddle_taxi") { }
|
||||
|
||||
bool OnGossipHello(Player* pPlayer, Creature* pCreature)
|
||||
{
|
||||
pPlayer->SetTaxiCheater(true);
|
||||
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_UP, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1);
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_DOWN, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 2);
|
||||
pPlayer->SEND_GOSSIP_MENU(12887, pCreature->GetGUID());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OnGossipSelect(Player* pPlayer, Creature* /*pCreature*/, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF + 1)
|
||||
pPlayer->GetSession()->SendDoFlight(6376, 881);
|
||||
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF + 2)
|
||||
pPlayer->GetSession()->SendDoFlight(6376, 882);
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
class npc_wyrmrest_temple_bottom_taxi : public CreatureScript
|
||||
{
|
||||
public:
|
||||
npc_wyrmrest_temple_bottom_taxi() : CreatureScript("npc_wyrmresttempelbottom_taxi") { }
|
||||
bool OnGossipHello(Player* pPlayer, Creature* pCreature)
|
||||
{
|
||||
pPlayer->SetTaxiCheater(true);
|
||||
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_TOP, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 4);
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_MIDDLE, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 3);
|
||||
pPlayer->SEND_GOSSIP_MENU(12713, pCreature->GetGUID());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OnGossipSelect(Player* pPlayer, Creature* /*pCreature*/, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF + 4)
|
||||
pPlayer->GetSession()->SendDoFlight(6376, 878);
|
||||
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF + 3)
|
||||
pPlayer->GetSession()->SendDoFlight(6376, 883);
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
class npc_wyrmrest_temple_top_taxi : public CreatureScript
|
||||
{
|
||||
public:
|
||||
npc_wyrmrest_temple_top_taxi() : CreatureScript("npc_wyrmresttempeltop_taxi") { }
|
||||
bool OnGossipHello(Player* pPlayer, Creature* pCreature)
|
||||
{
|
||||
pPlayer->SetTaxiCheater(true);
|
||||
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_BOTTOM, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 5);
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ONEDOWN, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 6);
|
||||
pPlayer->SEND_GOSSIP_MENU(12714, pCreature->GetGUID());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool OnGossipSelect(Player* pPlayer, Creature* /*pCreature*/, uint32 /*uiSender*/, uint32 uiAction)
|
||||
{
|
||||
pPlayer->PlayerTalkClass->ClearMenus();
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF + 5)
|
||||
pPlayer->GetSession()->SendDoFlight(6376, 879);
|
||||
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF + 6)
|
||||
pPlayer->GetSession()->SendDoFlight(6376, 880);
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
void AddSC_npc_wyrmresttempel_taxi()
|
||||
{
|
||||
new npc_wyrmrest_temple_middle_taxi;
|
||||
new npc_wyrmrest_temple_bottom_taxi;
|
||||
new npc_wyrmrest_temple_top_taxi;
|
||||
}
|
||||
@@ -1,222 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2008-2010 TrinityCore <http://www.trinitycore.org/>
|
||||
* Copyright (C) 2006-2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
/* ScriptData
|
||||
SDName: Test
|
||||
SD%Complete: 100
|
||||
SDComment: Script used for testing escortAI
|
||||
SDCategory: Script Examples
|
||||
EndScriptData */
|
||||
|
||||
#include "precompiled.h"
|
||||
#include "escort_ai.h"
|
||||
|
||||
#define SAY_WALK "Hmm a nice day for a walk alright"
|
||||
#define SAY_ATTACK "Wild Felboar attack!"
|
||||
#define SAY_TIME_TO_GO "Time for me to go! See ya around $N!"
|
||||
#define SAY_BYE "Bye Bye!"
|
||||
#define SAY_AGGRO1 "Help $N! I'm under attack!"
|
||||
#define SAY_AGGRO2 "Die scum!"
|
||||
#define WHISPER_TOO_FAR "How dare you leave me like that! I hate you! =*("
|
||||
#define SAY_DIE1 "...no...how could you let me die $N"
|
||||
#define SAY_DIE2 "ugh..."
|
||||
#define SAY_DEATHCOIL "Taste death!"
|
||||
#define SAY_FIREWORKS "Fireworks!"
|
||||
#define SAY_BUFF "Hmm, I think I could use a buff"
|
||||
|
||||
#define GOSSIP_TEXT1 "Click to Test Escort(Attack, Defend, Run)"
|
||||
#define GOSSIP_TEXT2 "Click to Test Escort(NoAttack, NoDefend, Walk)"
|
||||
#define GOSSIP_TEXT3 "Click to Test Escort(NoAttack, Defend, Walk)"
|
||||
|
||||
struct TRINITY_DLL_DECL npc_testAI : public npc_escortAI
|
||||
{
|
||||
public:
|
||||
|
||||
// CreatureAI functions
|
||||
npc_testAI(Creature *c) : npc_escortAI(c) {}
|
||||
|
||||
uint32 DeathCoilTimer;
|
||||
uint32 ChatTimer;
|
||||
|
||||
// Pure Virtual Functions
|
||||
void WaypointReached(uint32 i)
|
||||
{
|
||||
switch (i)
|
||||
{
|
||||
case 1:
|
||||
me->Say(SAY_WALK, LANG_UNIVERSAL, 0);
|
||||
break;
|
||||
|
||||
case 3:
|
||||
{
|
||||
me->Say(SAY_ATTACK, LANG_UNIVERSAL, 0);
|
||||
Creature* temp = me->SummonCreature(21878, me->GetPositionX()+5, me->GetPositionY()+7, me->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 3000);
|
||||
if (temp)
|
||||
temp->AI()->AttackStart(me);
|
||||
}
|
||||
break;
|
||||
|
||||
case 4:
|
||||
{
|
||||
me->Say(SAY_TIME_TO_GO, LANG_UNIVERSAL, PlayerGUID);
|
||||
me->HandleEmoteCommand(EMOTE_ONESHOT_WAVE);
|
||||
|
||||
Unit* temp = Unit::GetUnit(*me, PlayerGUID);
|
||||
if (temp)
|
||||
{
|
||||
temp->MonsterSay(SAY_BYE, LANG_UNIVERSAL, 0);
|
||||
temp->HandleEmoteCommand(EMOTE_ONESHOT_WAVE);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void EnterCombat(Unit*)
|
||||
{
|
||||
if (HasEscortState(STATE_ESCORT_ESCORTING))
|
||||
me->Say(SAY_AGGRO1, LANG_UNIVERSAL, PlayerGUID);
|
||||
else me->Say(SAY_AGGRO2, LANG_UNIVERSAL, 0);
|
||||
}
|
||||
|
||||
void Reset()
|
||||
{
|
||||
DeathCoilTimer = 4000;
|
||||
ChatTimer = 4000;
|
||||
}
|
||||
|
||||
void JustDied(Unit* killer)
|
||||
{
|
||||
if (HasEscortState(STATE_ESCORT_ESCORTING))
|
||||
{
|
||||
//killer = me when player got to far from creature
|
||||
if (killer == me)
|
||||
{
|
||||
Unit *pTemp = Unit::GetUnit(*me,PlayerGUID);
|
||||
if (pTemp)
|
||||
DoWhisper(WHISPER_TOO_FAR, pTemp);
|
||||
}
|
||||
else me->Say(SAY_DIE1, LANG_UNIVERSAL, PlayerGUID);
|
||||
}
|
||||
else me->Say(SAY_DIE2, LANG_UNIVERSAL, 0);
|
||||
}
|
||||
|
||||
void UpdateAI(const uint32 diff)
|
||||
{
|
||||
//Must update npc_escortAI
|
||||
npc_escortAI::UpdateAI(diff);
|
||||
|
||||
//Combat check
|
||||
if (me->isInCombat() && me->getVictim())
|
||||
{
|
||||
if (DeathCoilTimer < diff)
|
||||
{
|
||||
me->Say(SAY_DEATHCOIL, LANG_UNIVERSAL, 0);
|
||||
me->CastSpell(me->getVictim(), 33130, false);
|
||||
|
||||
DeathCoilTimer = 4000;
|
||||
}else DeathCoilTimer -= diff;
|
||||
}else
|
||||
{
|
||||
//Out of combat but being escorted
|
||||
if (HasEscortState(STATE_ESCORT_ESCORTING))
|
||||
if (ChatTimer < diff)
|
||||
{
|
||||
if (me->HasAura(3593, 0))
|
||||
{
|
||||
me->Say(SAY_FIREWORKS, LANG_UNIVERSAL, 0);
|
||||
me->CastSpell(me, 11540, false);
|
||||
}else
|
||||
{
|
||||
me->Say(SAY_BUFF, LANG_UNIVERSAL, 0);
|
||||
me->CastSpell(me, 3593, false);
|
||||
}
|
||||
|
||||
ChatTimer = 12000;
|
||||
}else ChatTimer -= diff;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
class test : public CreatureScript
|
||||
{
|
||||
public:
|
||||
test() : CreatureScript("test") { }
|
||||
|
||||
bool GossipSelect_npc(Player* pPlayer, Creature* pCreature, uint32 uiSender, uint32 uiAction)
|
||||
{
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF+1)
|
||||
{
|
||||
pPlayer->CLOSE_GOSSIP_MENU();
|
||||
((npc_escortAI*)(pCreature->AI()))->Start(true, true, pPlayer->GetGUID());
|
||||
|
||||
return true; // prevent Trinity core handling
|
||||
}
|
||||
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF+2)
|
||||
{
|
||||
pPlayer->CLOSE_GOSSIP_MENU();
|
||||
((npc_escortAI*)(pCreature->AI()))->Start(false, false, pPlayer->GetGUID());
|
||||
|
||||
return true; // prevent Trinity core handling
|
||||
}
|
||||
|
||||
if (uiAction == GOSSIP_ACTION_INFO_DEF+3)
|
||||
{
|
||||
pPlayer->CLOSE_GOSSIP_MENU();
|
||||
((npc_escortAI*)(pCreature->AI()))->Start(false, false, pPlayer->GetGUID());
|
||||
|
||||
return true; // prevent Trinity core handling
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool GossipHello_npc(Player* pPlayer, Creature* pCreature)
|
||||
{
|
||||
pPlayer->TalkedToCreature(pCreature->GetEntry(), pCreature->GetGUID());
|
||||
pCreature->prepareGossipMenu(pPlayer,0);
|
||||
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_TEXT1, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1);
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_TEXT2, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+2);
|
||||
pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_TEXT3, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+3);
|
||||
|
||||
pCreature->sendPreparedGossip(pPlayer);
|
||||
return true;
|
||||
}
|
||||
|
||||
CreatureAI* GetAI(Creature* pCreature) const
|
||||
{
|
||||
npcAI* testAI = new npcAI(pCreature);
|
||||
|
||||
testAI->AddWaypoint(0, 1231, -4419, 23);
|
||||
testAI->AddWaypoint(1, 1198, -4440, 23, 0);
|
||||
testAI->AddWaypoint(2, 1208, -4392, 23);
|
||||
testAI->AddWaypoint(3, 1231, -4419, 23, 5000);
|
||||
testAI->AddWaypoint(4, 1208, -4392, 23, 5000);
|
||||
|
||||
return (CreatureAI*)testAI;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
void AddSC_test()
|
||||
{
|
||||
new test();
|
||||
}
|
||||
@@ -0,0 +1,200 @@
|
||||
set(scripts_STAT_SRCS
|
||||
${scripts_STAT_SRCS}
|
||||
EasternKingdoms/ghostlands.cpp
|
||||
EasternKingdoms/eversong_woods.cpp
|
||||
EasternKingdoms/AlteracValley/boss_galvangar.cpp
|
||||
EasternKingdoms/AlteracValley/boss_balinda.cpp
|
||||
EasternKingdoms/AlteracValley/boss_drekthar.cpp
|
||||
EasternKingdoms/AlteracValley/boss_vanndar.cpp
|
||||
EasternKingdoms/AlteracValley/alterac_valley.cpp
|
||||
EasternKingdoms/Scholomance/boss_the_ravenian.cpp
|
||||
EasternKingdoms/Scholomance/boss_instructor_malicia.cpp
|
||||
EasternKingdoms/Scholomance/boss_death_knight_darkreaver.cpp
|
||||
EasternKingdoms/Scholomance/boss_illucia_barov.cpp
|
||||
EasternKingdoms/Scholomance/scholomance.h
|
||||
EasternKingdoms/Scholomance/boss_vectus.cpp
|
||||
EasternKingdoms/Scholomance/boss_jandice_barov.cpp
|
||||
EasternKingdoms/Scholomance/boss_kormok.cpp
|
||||
EasternKingdoms/Scholomance/boss_lord_alexei_barov.cpp
|
||||
EasternKingdoms/Scholomance/boss_doctor_theolen_krastinov.cpp
|
||||
EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp
|
||||
EasternKingdoms/Scholomance/instance_scholomance.cpp
|
||||
EasternKingdoms/Scholomance/boss_lorekeeper_polkelt.cpp
|
||||
EasternKingdoms/Scholomance/boss_ras_frostwhisper.cpp
|
||||
EasternKingdoms/isle_of_queldanas.cpp
|
||||
EasternKingdoms/boss_kruul.cpp
|
||||
EasternKingdoms/searing_gorge.cpp
|
||||
EasternKingdoms/ZulGurub/boss_hakkar.cpp
|
||||
EasternKingdoms/ZulGurub/boss_mandokir.cpp
|
||||
EasternKingdoms/ZulGurub/boss_marli.cpp
|
||||
EasternKingdoms/ZulGurub/boss_hazzarah.cpp
|
||||
EasternKingdoms/ZulGurub/boss_jeklik.cpp
|
||||
EasternKingdoms/ZulGurub/boss_grilek.cpp
|
||||
EasternKingdoms/ZulGurub/zulgurub.h
|
||||
EasternKingdoms/ZulGurub/boss_renataki.cpp
|
||||
EasternKingdoms/ZulGurub/boss_arlokk.cpp
|
||||
EasternKingdoms/ZulGurub/boss_gahzranka.cpp
|
||||
EasternKingdoms/ZulGurub/boss_venoxis.cpp
|
||||
EasternKingdoms/ZulGurub/instance_zulgurub.cpp
|
||||
EasternKingdoms/ZulGurub/boss_jindo.cpp
|
||||
EasternKingdoms/ZulGurub/boss_wushoolay.cpp
|
||||
EasternKingdoms/ZulGurub/boss_thekal.cpp
|
||||
EasternKingdoms/wetlands.cpp
|
||||
EasternKingdoms/arathi_highlands.cpp
|
||||
EasternKingdoms/Gnomeregan/instance_gnomeregan.cpp
|
||||
EasternKingdoms/Gnomeregan/gnomeregan.cpp
|
||||
EasternKingdoms/Gnomeregan/gnomeregan.h
|
||||
EasternKingdoms/redridge_mountains.cpp
|
||||
EasternKingdoms/BlackrockDepths/boss_high_interrogator_gerstahn.cpp
|
||||
EasternKingdoms/BlackrockDepths/boss_gorosh_the_dervish.cpp
|
||||
EasternKingdoms/BlackrockDepths/blackrock_depths.cpp
|
||||
EasternKingdoms/BlackrockDepths/boss_anubshiah.cpp
|
||||
EasternKingdoms/BlackrockDepths/boss_tomb_of_seven.cpp
|
||||
EasternKingdoms/BlackrockDepths/boss_general_angerforge.cpp
|
||||
EasternKingdoms/BlackrockDepths/boss_grizzle.cpp
|
||||
EasternKingdoms/BlackrockDepths/boss_ambassador_flamelash.cpp
|
||||
EasternKingdoms/BlackrockDepths/instance_blackrock_depths.cpp
|
||||
EasternKingdoms/BlackrockDepths/boss_moira_bronzebeard.cpp
|
||||
EasternKingdoms/BlackrockDepths/blackrock_depths.h
|
||||
EasternKingdoms/BlackrockDepths/boss_emperor_dagran_thaurissan.cpp
|
||||
EasternKingdoms/BlackrockDepths/boss_magmus.cpp
|
||||
EasternKingdoms/ironforge.cpp
|
||||
EasternKingdoms/ScarletEnclave/chapter2.cpp
|
||||
EasternKingdoms/ScarletEnclave/chapter5.cpp
|
||||
EasternKingdoms/ScarletEnclave/chapter1.cpp
|
||||
EasternKingdoms/ScarletEnclave/the_scarlet_enclave.cpp
|
||||
EasternKingdoms/eastern_plaguelands.cpp
|
||||
EasternKingdoms/MoltenCore/boss_gehennas.cpp
|
||||
EasternKingdoms/MoltenCore/boss_lucifron.cpp
|
||||
EasternKingdoms/MoltenCore/boss_golemagg.cpp
|
||||
EasternKingdoms/MoltenCore/boss_majordomo_executus.cpp
|
||||
EasternKingdoms/MoltenCore/boss_baron_geddon.cpp
|
||||
EasternKingdoms/MoltenCore/boss_ragnaros.cpp
|
||||
EasternKingdoms/MoltenCore/boss_garr.cpp
|
||||
EasternKingdoms/MoltenCore/molten_core.h
|
||||
EasternKingdoms/MoltenCore/instance_molten_core.cpp
|
||||
EasternKingdoms/MoltenCore/boss_sulfuron_harbinger.cpp
|
||||
EasternKingdoms/MoltenCore/boss_magmadar.cpp
|
||||
EasternKingdoms/MoltenCore/molten_core.cpp
|
||||
EasternKingdoms/MoltenCore/boss_shazzrah.cpp
|
||||
EasternKingdoms/Stratholme/boss_baroness_anastari.cpp
|
||||
EasternKingdoms/Stratholme/boss_nerubenkan.cpp
|
||||
EasternKingdoms/Stratholme/instance_stratholme.cpp
|
||||
EasternKingdoms/Stratholme/boss_dathrohan_balnazzar.cpp
|
||||
EasternKingdoms/Stratholme/boss_timmy_the_cruel.cpp
|
||||
EasternKingdoms/Stratholme/boss_baron_rivendare.cpp
|
||||
EasternKingdoms/Stratholme/boss_magistrate_barthilas.cpp
|
||||
EasternKingdoms/Stratholme/boss_order_of_silver_hand.cpp
|
||||
EasternKingdoms/Stratholme/boss_ramstein_the_gorger.cpp
|
||||
EasternKingdoms/Stratholme/boss_cannon_master_willey.cpp
|
||||
EasternKingdoms/Stratholme/boss_maleki_the_pallid.cpp
|
||||
EasternKingdoms/Stratholme/boss_postmaster_malown.cpp
|
||||
EasternKingdoms/Stratholme/stratholme.h
|
||||
EasternKingdoms/Stratholme/stratholme.cpp
|
||||
EasternKingdoms/tirisfal_glades.cpp
|
||||
EasternKingdoms/SunkenTemple/sunken_temple.cpp
|
||||
EasternKingdoms/SunkenTemple/sunken_temple.h
|
||||
EasternKingdoms/SunkenTemple/instance_sunken_temple.cpp
|
||||
EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp
|
||||
EasternKingdoms/MagistersTerrace/magisters_terrace.h
|
||||
EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp
|
||||
EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp
|
||||
EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp
|
||||
EasternKingdoms/MagistersTerrace/boss_vexallus.cpp
|
||||
EasternKingdoms/MagistersTerrace/magisters_terrace.cpp
|
||||
EasternKingdoms/Uldaman/uldaman.cpp
|
||||
EasternKingdoms/Uldaman/boss_ironaya.cpp
|
||||
EasternKingdoms/Uldaman/uldaman.h
|
||||
EasternKingdoms/Uldaman/instance_uldaman.cpp
|
||||
EasternKingdoms/Uldaman/boss_archaedas.cpp
|
||||
EasternKingdoms/swamp_of_sorrows.cpp
|
||||
EasternKingdoms/BlackrockSpire/boss_pyroguard_emberseer.cpp
|
||||
EasternKingdoms/BlackrockSpire/boss_drakkisath.cpp
|
||||
EasternKingdoms/BlackrockSpire/boss_warmaster_voone.cpp
|
||||
EasternKingdoms/BlackrockSpire/boss_mother_smolderweb.cpp
|
||||
EasternKingdoms/BlackrockSpire/boss_quartermaster_zigris.cpp
|
||||
EasternKingdoms/BlackrockSpire/boss_halycon.cpp
|
||||
EasternKingdoms/BlackrockSpire/boss_overlord_wyrmthalak.cpp
|
||||
EasternKingdoms/BlackrockSpire/boss_shadow_hunter_voshgajin.cpp
|
||||
EasternKingdoms/BlackrockSpire/boss_gyth.cpp
|
||||
EasternKingdoms/BlackrockSpire/boss_rend_blackhand.cpp
|
||||
EasternKingdoms/BlackrockSpire/boss_highlord_omokk.cpp
|
||||
EasternKingdoms/BlackrockSpire/boss_the_beast.cpp
|
||||
EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp
|
||||
EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp
|
||||
EasternKingdoms/SunwellPlateau/sunwell_plateau.h
|
||||
EasternKingdoms/SunwellPlateau/boss_muru.cpp
|
||||
EasternKingdoms/SunwellPlateau/instance_sunwell_plateau.cpp
|
||||
EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp
|
||||
EasternKingdoms/SunwellPlateau/boss_brutallus.cpp
|
||||
EasternKingdoms/SunwellPlateau/sunwell_plateau.cpp
|
||||
EasternKingdoms/SunwellPlateau/boss_felmyst.cpp
|
||||
EasternKingdoms/stranglethorn_vale.cpp
|
||||
EasternKingdoms/Deadmines/deadmines.h
|
||||
EasternKingdoms/Deadmines/deadmines.cpp
|
||||
EasternKingdoms/Deadmines/boss_mr_smite.cpp
|
||||
EasternKingdoms/Deadmines/instance_deadmines.cpp
|
||||
EasternKingdoms/duskwood.cpp
|
||||
EasternKingdoms/ScarletMonastery/boss_azshir_the_sleepless.cpp
|
||||
EasternKingdoms/ScarletMonastery/boss_mograine_and_whitemane.cpp
|
||||
EasternKingdoms/ScarletMonastery/boss_bloodmage_thalnos.cpp
|
||||
EasternKingdoms/ScarletMonastery/boss_interrogator_vishas.cpp
|
||||
EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp
|
||||
EasternKingdoms/ScarletMonastery/instance_scarlet_monastery.cpp
|
||||
EasternKingdoms/ScarletMonastery/boss_houndmaster_loksey.cpp
|
||||
EasternKingdoms/ScarletMonastery/scarlet_monastery.h
|
||||
EasternKingdoms/ScarletMonastery/boss_high_inquisitor_fairbanks.cpp
|
||||
EasternKingdoms/ScarletMonastery/boss_arcanist_doan.cpp
|
||||
EasternKingdoms/ScarletMonastery/boss_herod.cpp
|
||||
EasternKingdoms/ScarletMonastery/boss_scorn.cpp
|
||||
EasternKingdoms/dun_morogh.cpp
|
||||
EasternKingdoms/undercity.cpp
|
||||
EasternKingdoms/silvermoon_city.cpp
|
||||
EasternKingdoms/loch_modan.cpp
|
||||
EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
|
||||
EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp
|
||||
EasternKingdoms/ShadowfangKeep/shadowfang_keep.h
|
||||
EasternKingdoms/burning_steppes.cpp
|
||||
EasternKingdoms/BlackwingLair/boss_chromaggus.cpp
|
||||
EasternKingdoms/BlackwingLair/boss_razorgore.cpp
|
||||
EasternKingdoms/BlackwingLair/boss_firemaw.cpp
|
||||
EasternKingdoms/BlackwingLair/boss_broodlord_lashlayer.cpp
|
||||
EasternKingdoms/BlackwingLair/boss_ebonroc.cpp
|
||||
EasternKingdoms/BlackwingLair/instance_blackwing_lair.cpp
|
||||
EasternKingdoms/BlackwingLair/boss_vaelastrasz.cpp
|
||||
EasternKingdoms/BlackwingLair/boss_nefarian.cpp
|
||||
EasternKingdoms/BlackwingLair/boss_flamegor.cpp
|
||||
EasternKingdoms/BlackwingLair/boss_victor_nefarius.cpp
|
||||
EasternKingdoms/blasted_lands.cpp
|
||||
EasternKingdoms/elwynn_forest.cpp
|
||||
EasternKingdoms/stormwind_city.cpp
|
||||
EasternKingdoms/ZulAman/boss_halazzi.cpp
|
||||
EasternKingdoms/ZulAman/boss_hexlord.cpp
|
||||
EasternKingdoms/ZulAman/boss_zuljin.cpp
|
||||
EasternKingdoms/ZulAman/boss_akilzon.cpp
|
||||
EasternKingdoms/ZulAman/instance_zulaman.cpp
|
||||
EasternKingdoms/ZulAman/boss_janalai.cpp
|
||||
EasternKingdoms/ZulAman/boss_nalorakk.cpp
|
||||
EasternKingdoms/ZulAman/zulaman.cpp
|
||||
EasternKingdoms/ZulAman/zulaman.h
|
||||
EasternKingdoms/hinterlands.cpp
|
||||
EasternKingdoms/western_plaguelands.cpp
|
||||
EasternKingdoms/alterac_mountains.cpp
|
||||
EasternKingdoms/westfall.cpp
|
||||
EasternKingdoms/silverpine_forest.cpp
|
||||
EasternKingdoms/Karazhan/instance_karazhan.cpp
|
||||
EasternKingdoms/Karazhan/boss_nightbane.cpp
|
||||
EasternKingdoms/Karazhan/karazhan.cpp
|
||||
EasternKingdoms/Karazhan/boss_curator.cpp
|
||||
EasternKingdoms/Karazhan/boss_shade_of_aran.cpp
|
||||
EasternKingdoms/Karazhan/boss_netherspite.cpp
|
||||
EasternKingdoms/Karazhan/boss_maiden_of_virtue.cpp
|
||||
EasternKingdoms/Karazhan/boss_midnight.cpp
|
||||
EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp
|
||||
EasternKingdoms/Karazhan/bosses_opera.cpp
|
||||
EasternKingdoms/Karazhan/boss_moroes.cpp
|
||||
EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp
|
||||
EasternKingdoms/Karazhan/karazhan.h
|
||||
)
|
||||
|
||||
message(" -> Prepared: Eastern Kingdoms")
|
||||
@@ -0,0 +1,10 @@
|
||||
set(scripts_STAT_SRCS
|
||||
${scripts_STAT_SRCS}
|
||||
Examples/example_misc.cpp
|
||||
Examples/example_gossip_codebox.cpp
|
||||
Examples/example_escort.cpp
|
||||
Examples/example_creature.cpp
|
||||
Examples/example_spell.cpp
|
||||
)
|
||||
|
||||
message(" -> Prepared: Examples")
|
||||
@@ -0,0 +1,106 @@
|
||||
set(scripts_STAT_SRCS
|
||||
${scripts_STAT_SRCS}
|
||||
Kalimdor/stonetalon_mountains.cpp
|
||||
Kalimdor/silithus.cpp
|
||||
Kalimdor/moonglade.cpp
|
||||
Kalimdor/RazorfenDowns/razorfen_downs.cpp
|
||||
Kalimdor/RazorfenDowns/instance_razorfen_downs.cpp
|
||||
Kalimdor/RazorfenDowns/boss_amnennar_the_coldbringer.cpp
|
||||
Kalimdor/RazorfenDowns/razorfen_downs.h
|
||||
Kalimdor/ZulFarrak/zulfarrak.h
|
||||
Kalimdor/ZulFarrak/zulfarrak.cpp
|
||||
Kalimdor/ZulFarrak/instance_zulfarrak.cpp
|
||||
Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_epoch_hunter.cpp
|
||||
Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.h
|
||||
Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_leutenant_drake.cpp
|
||||
Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/old_hillsbrad.cpp
|
||||
Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/instance_old_hillsbrad.cpp
|
||||
Kalimdor/CavernsOfTime/EscapeFromDurnholdeKeep/boss_captain_skarloc.cpp
|
||||
Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp
|
||||
Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.h
|
||||
Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.h
|
||||
Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp
|
||||
Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal_trash.cpp
|
||||
Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp
|
||||
Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp
|
||||
Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp
|
||||
Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_rage_winterchill.cpp
|
||||
Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.h
|
||||
Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_azgalor.cpp
|
||||
Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_anetheron.cpp
|
||||
Kalimdor/CavernsOfTime/CullingOfStratholme/boss_infinite.cpp
|
||||
Kalimdor/CavernsOfTime/CullingOfStratholme/boss_salramm.cpp
|
||||
Kalimdor/CavernsOfTime/CullingOfStratholme/boss_meathook.cpp
|
||||
Kalimdor/CavernsOfTime/CullingOfStratholme/boss_mal_ganis.cpp
|
||||
Kalimdor/CavernsOfTime/CullingOfStratholme/boss_epoch.cpp
|
||||
Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.cpp
|
||||
Kalimdor/CavernsOfTime/CullingOfStratholme/instance_culling_of_stratholme.cpp
|
||||
Kalimdor/CavernsOfTime/CullingOfStratholme/culling_of_stratholme.h
|
||||
Kalimdor/CavernsOfTime/DarkPortal/dark_portal.h
|
||||
Kalimdor/CavernsOfTime/DarkPortal/instance_dark_portal.cpp
|
||||
Kalimdor/CavernsOfTime/DarkPortal/boss_chrono_lord_deja.cpp
|
||||
Kalimdor/CavernsOfTime/DarkPortal/dark_portal.cpp
|
||||
Kalimdor/CavernsOfTime/DarkPortal/boss_aeonus.cpp
|
||||
Kalimdor/CavernsOfTime/DarkPortal/boss_temporus.cpp
|
||||
Kalimdor/BlackfathomDeeps/boss_kelris.cpp
|
||||
Kalimdor/BlackfathomDeeps/instance_blackfathom_deeps.cpp
|
||||
Kalimdor/BlackfathomDeeps/boss_gelihast.cpp
|
||||
Kalimdor/BlackfathomDeeps/blackfathom_deeps.cpp
|
||||
Kalimdor/BlackfathomDeeps/boss_aku_mai.cpp
|
||||
Kalimdor/BlackfathomDeeps/blackfathom_deeps.h
|
||||
Kalimdor/azuremyst_isle.cpp
|
||||
Kalimdor/orgrimmar.cpp
|
||||
Kalimdor/desolace.cpp
|
||||
Kalimdor/feralas.cpp
|
||||
Kalimdor/Maraudon/boss_princess_theradras.cpp
|
||||
Kalimdor/Maraudon/boss_landslide.cpp
|
||||
Kalimdor/Maraudon/boss_celebras_the_cursed.cpp
|
||||
Kalimdor/Maraudon/boss_noxxion.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/boss_fankriss.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/boss_huhuran.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/instance_temple_of_ahnqiraj.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/boss_viscidus.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/boss_twinemperors.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/boss_sartura.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/boss_cthun.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/temple_of_ahnqiraj.h
|
||||
Kalimdor/TempleOfAhnQiraj/boss_skeram.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/boss_ouro.cpp
|
||||
Kalimdor/TempleOfAhnQiraj/boss_bug_trio.cpp
|
||||
Kalimdor/darkshore.cpp
|
||||
Kalimdor/RuinsOfAhnQiraj/boss_buru.cpp
|
||||
Kalimdor/RuinsOfAhnQiraj/instance_ruins_of_ahnqiraj.cpp
|
||||
Kalimdor/RuinsOfAhnQiraj/boss_rajaxx.cpp
|
||||
Kalimdor/RuinsOfAhnQiraj/boss_ossirian.cpp
|
||||
Kalimdor/RuinsOfAhnQiraj/boss_ayamiss.cpp
|
||||
Kalimdor/RuinsOfAhnQiraj/boss_moam.cpp
|
||||
Kalimdor/RuinsOfAhnQiraj/ruins_of_ahnqiraj.h
|
||||
Kalimdor/RuinsOfAhnQiraj/boss_kurinnaxx.cpp
|
||||
Kalimdor/mulgore.cpp
|
||||
Kalimdor/bloodmyst_isle.cpp
|
||||
Kalimdor/thunder_bluff.cpp
|
||||
Kalimdor/azshara.cpp
|
||||
Kalimdor/RazorfenKraul/razorfen_kraul.h
|
||||
Kalimdor/RazorfenKraul/instance_razorfen_kraul.cpp
|
||||
Kalimdor/RazorfenKraul/razorfen_kraul.cpp
|
||||
Kalimdor/the_barrens.cpp
|
||||
Kalimdor/ungoro_crater.cpp
|
||||
Kalimdor/WailingCaverns/wailing_caverns.h
|
||||
Kalimdor/WailingCaverns/instance_wailing_caverns.cpp
|
||||
Kalimdor/WailingCaverns/wailing_caverns.cpp
|
||||
Kalimdor/durotar.cpp
|
||||
Kalimdor/felwood.cpp
|
||||
Kalimdor/boss_azuregos.cpp
|
||||
Kalimdor/tanaris.cpp
|
||||
Kalimdor/dustwallow_marsh.cpp
|
||||
Kalimdor/winterspring.cpp
|
||||
Kalimdor/thousand_needles.cpp
|
||||
Kalimdor/ashenvale.cpp
|
||||
Kalimdor/teldrassil.cpp
|
||||
Kalimdor/OnyxiasLair/boss_onyxia.cpp
|
||||
Kalimdor/OnyxiasLair/onyxias_lair.h
|
||||
Kalimdor/OnyxiasLair/instance_onyxias_lair.cpp
|
||||
)
|
||||
|
||||
message(" -> Prepared: Kalimdor")
|
||||
@@ -0,0 +1,173 @@
|
||||
set(scripts_STAT_SRCS
|
||||
${scripts_STAT_SRCS}
|
||||
Northrend/storm_peaks.cpp
|
||||
Northrend/Ulduar/HallsOfLightning/instance_halls_of_lightning.cpp
|
||||
Northrend/Ulduar/HallsOfLightning/boss_bjarngrim.cpp
|
||||
Northrend/Ulduar/HallsOfLightning/halls_of_lightning.h
|
||||
Northrend/Ulduar/HallsOfLightning/boss_ionar.cpp
|
||||
Northrend/Ulduar/HallsOfLightning/boss_volkhan.cpp
|
||||
Northrend/Ulduar/HallsOfLightning/boss_loken.cpp
|
||||
Northrend/Ulduar/ulduar/boss_general_vezax.cpp
|
||||
Northrend/Ulduar/ulduar/ulduar_teleporter.cpp
|
||||
Northrend/Ulduar/ulduar/boss_thorim.cpp
|
||||
Northrend/Ulduar/ulduar/boss_ignis.cpp
|
||||
Northrend/Ulduar/ulduar/boss_algalon.cpp
|
||||
Northrend/Ulduar/ulduar/instance_ulduar.cpp
|
||||
Northrend/Ulduar/ulduar/boss_auriaya.cpp
|
||||
Northrend/Ulduar/ulduar/boss_yoggsaron.cpp
|
||||
Northrend/Ulduar/ulduar/boss_hodir.cpp
|
||||
Northrend/Ulduar/ulduar/boss_assembly_of_iron.cpp
|
||||
Northrend/Ulduar/ulduar/boss_flame_leviathan.cpp
|
||||
Northrend/Ulduar/ulduar/boss_xt002.cpp
|
||||
Northrend/Ulduar/ulduar/boss_mimiron.cpp
|
||||
Northrend/Ulduar/ulduar/ulduar.h
|
||||
Northrend/Ulduar/ulduar/boss_freya.cpp
|
||||
Northrend/Ulduar/ulduar/boss_razorscale.cpp
|
||||
Northrend/Ulduar/ulduar/boss_kologarn.cpp
|
||||
Northrend/Ulduar/HallsOfStone/boss_krystallus.cpp
|
||||
Northrend/Ulduar/HallsOfStone/halls_of_stone.h
|
||||
Northrend/Ulduar/HallsOfStone/instance_halls_of_stone.cpp
|
||||
Northrend/Ulduar/HallsOfStone/boss_maiden_of_grief.cpp
|
||||
Northrend/Ulduar/HallsOfStone/boss_sjonnir.cpp
|
||||
Northrend/Ulduar/HallsOfStone/halls_of_stone.cpp
|
||||
Northrend/ObsidianSanctum/instance_obsidian_sanctum.cpp
|
||||
Northrend/ObsidianSanctum/obsidian_sanctum.h
|
||||
Northrend/ObsidianSanctum/boss_sartharion.cpp
|
||||
Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.h
|
||||
Northrend/FrozenHalls/HallsOfReflection/boss_falric.cpp
|
||||
Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp
|
||||
Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp
|
||||
Northrend/FrozenHalls/HallsOfReflection/boss_marwyn.cpp
|
||||
Northrend/FrozenHalls/PitOfSaron/boss_forgemaster_garfrost.cpp
|
||||
Northrend/FrozenHalls/PitOfSaron/boss_krickandick.cpp
|
||||
Northrend/FrozenHalls/PitOfSaron/pit_of_saron.cpp
|
||||
Northrend/FrozenHalls/PitOfSaron/boss_scourgelord_tyrannus.cpp
|
||||
Northrend/FrozenHalls/PitOfSaron/pit_of_saron.h
|
||||
Northrend/FrozenHalls/PitOfSaron/instance_pit_of_saron.cpp
|
||||
Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.cpp
|
||||
Northrend/FrozenHalls/ForgeOfSouls/boss_bronjahm.cpp
|
||||
Northrend/FrozenHalls/ForgeOfSouls/instance_forge_of_souls.cpp
|
||||
Northrend/FrozenHalls/ForgeOfSouls/boss_devourer_of_souls.cpp
|
||||
Northrend/FrozenHalls/ForgeOfSouls/forge_of_souls.h
|
||||
Northrend/Nexus/EyeOfEternity/boss_malygos.cpp
|
||||
Northrend/Nexus/EyeOfEternity/instance_eye_of_eternity.cpp
|
||||
Northrend/Nexus/EyeOfEternity/eye_of_eternity.h
|
||||
Northrend/Nexus/Oculus/boss_eregos.cpp
|
||||
Northrend/Nexus/Oculus/boss_drakos.cpp
|
||||
Northrend/Nexus/Oculus/oculus.h
|
||||
Northrend/Nexus/Oculus/boss_varos.cpp
|
||||
Northrend/Nexus/Oculus/boss_urom.cpp
|
||||
Northrend/Nexus/Oculus/oculus.cpp
|
||||
Northrend/Nexus/Oculus/instance_oculus.cpp
|
||||
Northrend/Nexus/Nexus/commander_kolurg.cpp
|
||||
Northrend/Nexus/Nexus/commander_stoutbeard.cpp
|
||||
Northrend/Nexus/Nexus/boss_ormorok.cpp
|
||||
Northrend/Nexus/Nexus/boss_magus_telestra.cpp
|
||||
Northrend/Nexus/Nexus/instance_nexus.cpp
|
||||
Northrend/Nexus/Nexus/boss_keristrasza.cpp
|
||||
Northrend/Nexus/Nexus/boss_anomalus.cpp
|
||||
Northrend/Nexus/Nexus/nexus.h
|
||||
Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_anubarak_trial.cpp
|
||||
Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_faction_champions.cpp
|
||||
Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_lord_jaraxxus.cpp
|
||||
Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.h
|
||||
Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp
|
||||
Northrend/CrusadersColiseum/TrialOfTheCrusader/trial_of_the_crusader.cpp
|
||||
Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_twin_valkyr.cpp
|
||||
Northrend/CrusadersColiseum/TrialOfTheCrusader/instance_trial_of_the_crusader.cpp
|
||||
Northrend/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.h
|
||||
Northrend/CrusadersColiseum/TrialOfTheChampion/trial_of_the_champion.cpp
|
||||
Northrend/CrusadersColiseum/TrialOfTheChampion/boss_grand_champions.cpp
|
||||
Northrend/CrusadersColiseum/TrialOfTheChampion/boss_black_knight.cpp
|
||||
Northrend/CrusadersColiseum/TrialOfTheChampion/instance_trial_of_the_champion.cpp
|
||||
Northrend/CrusadersColiseum/TrialOfTheChampion/boss_argent_challenge.cpp
|
||||
Northrend/Naxxramas/boss_loatheb.cpp
|
||||
Northrend/Naxxramas/boss_anubrekhan.cpp
|
||||
Northrend/Naxxramas/boss_maexxna.cpp
|
||||
Northrend/Naxxramas/boss_patchwerk.cpp
|
||||
Northrend/Naxxramas/boss_gothik.cpp
|
||||
Northrend/Naxxramas/boss_faerlina.cpp
|
||||
Northrend/Naxxramas/boss_gluth.cpp
|
||||
Northrend/Naxxramas/boss_four_horsemen.cpp
|
||||
Northrend/Naxxramas/naxxramas.h
|
||||
Northrend/Naxxramas/boss_kelthuzad.cpp
|
||||
Northrend/Naxxramas/boss_heigan.cpp
|
||||
Northrend/Naxxramas/boss_thaddius.cpp
|
||||
Northrend/Naxxramas/boss_razuvious.cpp
|
||||
Northrend/Naxxramas/boss_sapphiron.cpp
|
||||
Northrend/Naxxramas/instance_naxxramas.cpp
|
||||
Northrend/Naxxramas/boss_grobbulus.cpp
|
||||
Northrend/Naxxramas/boss_noth.cpp
|
||||
Northrend/crystalsong_forest.cpp
|
||||
Northrend/VaultOfArchavon/boss_archavon.cpp
|
||||
Northrend/VaultOfArchavon/boss_koralon.cpp
|
||||
Northrend/VaultOfArchavon/vault_of_archavon.h
|
||||
Northrend/VaultOfArchavon/instance_vault_of_archavon.cpp
|
||||
Northrend/VaultOfArchavon/boss_emalon.cpp
|
||||
Northrend/VaultOfArchavon/boss_toravon.cpp
|
||||
Northrend/sholazar_basin.cpp
|
||||
Northrend/UtgardeKeep/UtgardePinnacle/boss_palehoof.cpp
|
||||
Northrend/UtgardeKeep/UtgardePinnacle/boss_svala.cpp
|
||||
Northrend/UtgardeKeep/UtgardePinnacle/instance_pinnacle.cpp
|
||||
Northrend/UtgardeKeep/UtgardePinnacle/boss_ymiron.cpp
|
||||
Northrend/UtgardeKeep/UtgardePinnacle/boss_skadi.cpp
|
||||
Northrend/UtgardeKeep/UtgardePinnacle/utgarde_pinnacle.h
|
||||
Northrend/UtgardeKeep/UtgardeKeep/boss_ingvar_the_plunderer.cpp
|
||||
Northrend/UtgardeKeep/UtgardeKeep/boss_skarvald_dalronn.cpp
|
||||
Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.h
|
||||
Northrend/UtgardeKeep/UtgardeKeep/instance_utgarde_keep.cpp
|
||||
Northrend/UtgardeKeep/UtgardeKeep/boss_keleseth.cpp
|
||||
Northrend/UtgardeKeep/UtgardeKeep/utgarde_keep.cpp
|
||||
Northrend/dragonblight.cpp
|
||||
Northrend/grizzly_hills.cpp
|
||||
Northrend/AzjolNerub/AzjolNerub/azjol_nerub.h
|
||||
Northrend/AzjolNerub/AzjolNerub/instance_azjol_nerub.cpp
|
||||
Northrend/AzjolNerub/AzjolNerub/boss_krikthir_the_gatewatcher.cpp
|
||||
Northrend/AzjolNerub/AzjolNerub/boss_hadronox.cpp
|
||||
Northrend/AzjolNerub/AzjolNerub/boss_anubarak.cpp
|
||||
Northrend/AzjolNerub/ahnkahet/boss_herald_volazj.cpp
|
||||
Northrend/AzjolNerub/ahnkahet/boss_prince_taldaram.cpp
|
||||
Northrend/AzjolNerub/ahnkahet/instance_ahnkahet.cpp
|
||||
Northrend/AzjolNerub/ahnkahet/boss_jedoga_shadowseeker.cpp
|
||||
Northrend/AzjolNerub/ahnkahet/boss_elder_nadox.cpp
|
||||
Northrend/AzjolNerub/ahnkahet/boss_amanitar.cpp
|
||||
Northrend/AzjolNerub/ahnkahet/ahnkahet.h
|
||||
Northrend/VioletHold/boss_zuramat.cpp
|
||||
Northrend/VioletHold/instance_violet_hold.cpp
|
||||
Northrend/VioletHold/boss_lavanthor.cpp
|
||||
Northrend/VioletHold/boss_cyanigosa.cpp
|
||||
Northrend/VioletHold/violet_hold.h
|
||||
Northrend/VioletHold/boss_ichoron.cpp
|
||||
Northrend/VioletHold/boss_moragg.cpp
|
||||
Northrend/VioletHold/boss_xevozz.cpp
|
||||
Northrend/VioletHold/boss_erekem.cpp
|
||||
Northrend/VioletHold/violet_hold.cpp
|
||||
Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp
|
||||
Northrend/IcecrownCitadel/boss_deathbringer_saurfang.cpp
|
||||
Northrend/IcecrownCitadel/boss_lady_deathwhisper.cpp
|
||||
Northrend/IcecrownCitadel/boss_professor_putricide.cpp
|
||||
Northrend/IcecrownCitadel/icecrown_citadel.h
|
||||
Northrend/IcecrownCitadel/icecrown_citadel_teleport.cpp
|
||||
Northrend/IcecrownCitadel/boss_festergut.cpp
|
||||
Northrend/IcecrownCitadel/boss_lord_marrowgar.cpp
|
||||
Northrend/zuldrak.cpp
|
||||
Northrend/icecrown.cpp
|
||||
Northrend/Gundrak/boss_slad_ran.cpp
|
||||
Northrend/Gundrak/instance_gundrak.cpp
|
||||
Northrend/Gundrak/boss_drakkari_colossus.cpp
|
||||
Northrend/Gundrak/gundrak.h
|
||||
Northrend/Gundrak/boss_gal_darah.cpp
|
||||
Northrend/Gundrak/boss_moorabi.cpp
|
||||
Northrend/Gundrak/boss_eck.cpp
|
||||
Northrend/borean_tundra.cpp
|
||||
Northrend/howling_fjord.cpp
|
||||
Northrend/dalaran.cpp
|
||||
Northrend/DraktharonKeep/boss_trollgore.cpp
|
||||
Northrend/DraktharonKeep/instance_drak_tharon_keep.cpp
|
||||
Northrend/DraktharonKeep/boss_novos.cpp
|
||||
Northrend/DraktharonKeep/drak_tharon_keep.h
|
||||
Northrend/DraktharonKeep/boss_tharon_ja.cpp
|
||||
Northrend/DraktharonKeep/boss_dred.cpp
|
||||
)
|
||||
|
||||
message(" -> Prepared: Northrend")
|
||||
@@ -0,0 +1,17 @@
|
||||
set(scripts_STAT_SRCS
|
||||
${scripts_STAT_SRCS}
|
||||
OutdoorPvP/OutdoorPvPTF.cpp
|
||||
OutdoorPvP/OutdoorPvPSI.cpp
|
||||
OutdoorPvP/OutdoorPvPSI.h
|
||||
OutdoorPvP/OutdoorPvPZM.cpp
|
||||
OutdoorPvP/OutdoorPvPNA.cpp
|
||||
OutdoorPvP/OutdoorPvPHP.cpp
|
||||
OutdoorPvP/OutdoorPvPTF.h
|
||||
OutdoorPvP/OutdoorPvPEP.h
|
||||
OutdoorPvP/OutdoorPvPEP.cpp
|
||||
OutdoorPvP/OutdoorPvPHP.h
|
||||
OutdoorPvP/OutdoorPvPZM.h
|
||||
OutdoorPvP/OutdoorPvPNA.h
|
||||
)
|
||||
|
||||
message(" -> Prepared: Outdoor PVP Zones")
|
||||
@@ -0,0 +1,98 @@
|
||||
set(scripts_STAT_SRCS
|
||||
${scripts_STAT_SRCS}
|
||||
Outland/nagrand.cpp
|
||||
Outland/HellfireCitadel/MagtheridonsLair/magtheridons_lair.h
|
||||
Outland/HellfireCitadel/MagtheridonsLair/instance_magtheridons_lair.cpp
|
||||
Outland/HellfireCitadel/MagtheridonsLair/boss_magtheridon.cpp
|
||||
Outland/HellfireCitadel/HellfireRamparts/instance_hellfire_ramparts.cpp
|
||||
Outland/HellfireCitadel/HellfireRamparts/boss_omor_the_unscarred.cpp
|
||||
Outland/HellfireCitadel/HellfireRamparts/boss_watchkeeper_gargolmar.cpp
|
||||
Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp
|
||||
Outland/HellfireCitadel/HellfireRamparts/hellfire_ramparts.h
|
||||
Outland/HellfireCitadel/BloodFurnace/boss_the_maker.cpp
|
||||
Outland/HellfireCitadel/BloodFurnace/boss_kelidan_the_breaker.cpp
|
||||
Outland/HellfireCitadel/BloodFurnace/blood_furnace.h
|
||||
Outland/HellfireCitadel/BloodFurnace/instance_blood_furnace.cpp
|
||||
Outland/HellfireCitadel/BloodFurnace/boss_broggok.cpp
|
||||
Outland/HellfireCitadel/ShatteredHalls/shattered_halls.h
|
||||
Outland/HellfireCitadel/ShatteredHalls/boss_warchief_kargath_bladefist.cpp
|
||||
Outland/HellfireCitadel/ShatteredHalls/boss_nethekurse.cpp
|
||||
Outland/HellfireCitadel/ShatteredHalls/instance_shattered_halls.cpp
|
||||
Outland/HellfireCitadel/ShatteredHalls/boss_warbringer_omrogg.cpp
|
||||
Outland/CoilfangReservoir/SteamVault/boss_mekgineer_steamrigger.cpp
|
||||
Outland/CoilfangReservoir/SteamVault/instance_steam_vault.cpp
|
||||
Outland/CoilfangReservoir/SteamVault/boss_hydromancer_thespia.cpp
|
||||
Outland/CoilfangReservoir/SteamVault/boss_warlord_kalithresh.cpp
|
||||
Outland/CoilfangReservoir/SteamVault/steam_vault.h
|
||||
Outland/CoilfangReservoir/SerpentShrine/boss_hydross_the_unstable.cpp
|
||||
Outland/CoilfangReservoir/SerpentShrine/boss_fathomlord_karathress.cpp
|
||||
Outland/CoilfangReservoir/SerpentShrine/instance_serpent_shrine.cpp
|
||||
Outland/CoilfangReservoir/SerpentShrine/serpent_shrine.h
|
||||
Outland/CoilfangReservoir/SerpentShrine/boss_lady_vashj.cpp
|
||||
Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp
|
||||
Outland/CoilfangReservoir/SerpentShrine/boss_lurker_below.cpp
|
||||
Outland/CoilfangReservoir/SerpentShrine/boss_morogrim_tidewalker.cpp
|
||||
Outland/CoilfangReservoir/underbog/boss_hungarfen.cpp
|
||||
Outland/CoilfangReservoir/underbog/boss_the_black_stalker.cpp
|
||||
Outland/shattrath_city.cpp
|
||||
Outland/TempestKeep/Mechanar/boss_pathaleon_the_calculator.cpp
|
||||
Outland/TempestKeep/Mechanar/boss_nethermancer_sepethrea.cpp
|
||||
Outland/TempestKeep/Mechanar/mechanar.h
|
||||
Outland/TempestKeep/Mechanar/boss_gatewatcher_gyrokill.cpp
|
||||
Outland/TempestKeep/Mechanar/instance_mechanar.cpp
|
||||
Outland/TempestKeep/Mechanar/boss_gatewatcher_ironhand.cpp
|
||||
Outland/TempestKeep/Eye/the_eye.h
|
||||
Outland/TempestKeep/Eye/instance_the_eye.cpp
|
||||
Outland/TempestKeep/Eye/boss_void_reaver.cpp
|
||||
Outland/TempestKeep/Eye/boss_astromancer.cpp
|
||||
Outland/TempestKeep/Eye/boss_alar.cpp
|
||||
Outland/TempestKeep/Eye/boss_kaelthas.cpp
|
||||
Outland/TempestKeep/Eye/the_eye.cpp
|
||||
Outland/TempestKeep/botanica/boss_high_botanist_freywinn.cpp
|
||||
Outland/TempestKeep/botanica/boss_warp_splinter.cpp
|
||||
Outland/TempestKeep/botanica/boss_laj.cpp
|
||||
Outland/TempestKeep/arcatraz/boss_harbinger_skyriss.cpp
|
||||
Outland/TempestKeep/arcatraz/instance_arcatraz.cpp
|
||||
Outland/TempestKeep/arcatraz/arcatraz.h
|
||||
Outland/TempestKeep/arcatraz/arcatraz.cpp
|
||||
Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp
|
||||
Outland/Auchindoun/AuchenaiCrypts/boss_exarch_maladaar.cpp
|
||||
Outland/Auchindoun/ManaTombs/boss_pandemonius.cpp
|
||||
Outland/Auchindoun/ManaTombs/boss_nexusprince_shaffar.cpp
|
||||
Outland/Auchindoun/SethekkHalls/boss_tailonking_ikiss.cpp
|
||||
Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp
|
||||
Outland/Auchindoun/SethekkHalls/instance_sethekk_halls.cpp
|
||||
Outland/Auchindoun/SethekkHalls/sethekk_halls.h
|
||||
Outland/Auchindoun/ShadowLabyrinth/boss_murmur.cpp
|
||||
Outland/Auchindoun/ShadowLabyrinth/boss_ambassador_hellmaw.cpp
|
||||
Outland/Auchindoun/ShadowLabyrinth/boss_blackheart_the_inciter.cpp
|
||||
Outland/Auchindoun/ShadowLabyrinth/instance_shadow_labyrinth.cpp
|
||||
Outland/Auchindoun/ShadowLabyrinth/shadow_labyrinth.h
|
||||
Outland/Auchindoun/ShadowLabyrinth/boss_grandmaster_vorpil.cpp
|
||||
Outland/boss_doomwalker.cpp
|
||||
Outland/terokkar_forest.cpp
|
||||
Outland/hellfire_peninsula.cpp
|
||||
Outland/boss_doomlord_kazzak.cpp
|
||||
Outland/BlackTemple/boss_teron_gorefiend.cpp
|
||||
Outland/BlackTemple/black_temple.h
|
||||
Outland/BlackTemple/illidari_council.cpp
|
||||
Outland/BlackTemple/boss_shade_of_akama.cpp
|
||||
Outland/BlackTemple/boss_supremus.cpp
|
||||
Outland/BlackTemple/black_temple.cpp
|
||||
Outland/BlackTemple/boss_mother_shahraz.cpp
|
||||
Outland/BlackTemple/instance_black_temple.cpp
|
||||
Outland/BlackTemple/boss_reliquary_of_souls.cpp
|
||||
Outland/BlackTemple/boss_warlord_najentus.cpp
|
||||
Outland/BlackTemple/boss_bloodboil.cpp
|
||||
Outland/BlackTemple/boss_illidan.cpp
|
||||
Outland/shadowmoon_valley.cpp
|
||||
Outland/blades_edge_mountains.cpp
|
||||
Outland/GruulsLair/boss_high_king_maulgar.cpp
|
||||
Outland/GruulsLair/boss_gruul.cpp
|
||||
Outland/GruulsLair/gruuls_lair.h
|
||||
Outland/GruulsLair/instance_gruuls_lair.cpp
|
||||
Outland/netherstorm.cpp
|
||||
Outland/zangarmarsh.cpp
|
||||
)
|
||||
|
||||
message(" -> Prepared: Outland")
|
||||
@@ -0,0 +1,18 @@
|
||||
set(scripts_STAT_SRCS
|
||||
${scripts_STAT_SRCS}
|
||||
Spells/spell_shaman.cpp
|
||||
Spells/spell_hunter.cpp
|
||||
Spells/spell_rogue.cpp
|
||||
Spells/spell_druid.cpp
|
||||
Spells/spell_dk.cpp
|
||||
Spells/spell_quest.cpp
|
||||
Spells/spell_warrior.cpp
|
||||
Spells/spell_generic.cpp
|
||||
Spells/spell_warlock.cpp
|
||||
Spells/spell_priest.cpp
|
||||
Spells/spell_mage.cpp
|
||||
Spells/spell_paladin.cpp
|
||||
Spells/spell_item.cpp
|
||||
)
|
||||
|
||||
message(" -> Prepared: Spells")
|
||||
@@ -0,0 +1,20 @@
|
||||
set(scripts_STAT_SRCS
|
||||
${scripts_STAT_SRCS}
|
||||
World/npc_professions.cpp
|
||||
World/mob_generic_creature.cpp
|
||||
World/npc_taxi.cpp
|
||||
World/boss_lethon.cpp
|
||||
World/areatrigger_scripts.cpp
|
||||
World/boss_emeriss.cpp
|
||||
World/guards.cpp
|
||||
World/item_scripts.cpp
|
||||
World/boss_ysondre.cpp
|
||||
World/npcs_special.cpp
|
||||
World/chat_log.cpp
|
||||
World/boss_taerar.cpp
|
||||
World/go_scripts.cpp
|
||||
World/npc_innkeeper.cpp
|
||||
World/achievement_scripts.cpp
|
||||
)
|
||||
|
||||
message(" -> Prepared: World")
|
||||
Reference in New Issue
Block a user