From 5977a76d96b03b533f44ad0baed523394e936d29 Mon Sep 17 00:00:00 2001 From: silinoron Date: Mon, 26 Jul 2010 15:40:08 -0700 Subject: Move spell scripts from src/server/scripts/World to src/server/scripts/Spells --HG-- branch : trunk rename : src/server/scripts/World/spell_dk.cpp => src/server/scripts/Spells/spell_dk.cpp rename : src/server/scripts/World/spell_druid.cpp => src/server/scripts/Spells/spell_druid.cpp rename : src/server/scripts/World/spell_generic.cpp => src/server/scripts/Spells/spell_generic.cpp rename : src/server/scripts/World/spell_hunter.cpp => src/server/scripts/Spells/spell_hunter.cpp rename : src/server/scripts/World/spell_mage.cpp => src/server/scripts/Spells/spell_mage.cpp rename : src/server/scripts/World/spell_paladin.cpp => src/server/scripts/Spells/spell_paladin.cpp rename : src/server/scripts/World/spell_priest.cpp => src/server/scripts/Spells/spell_priest.cpp rename : src/server/scripts/World/spell_rogue.cpp => src/server/scripts/Spells/spell_rogue.cpp rename : src/server/scripts/World/spell_shaman.cpp => src/server/scripts/Spells/spell_shaman.cpp rename : src/server/scripts/World/spell_warlock.cpp => src/server/scripts/Spells/spell_warlock.cpp rename : src/server/scripts/World/spell_warrior.cpp => src/server/scripts/Spells/spell_warrior.cpp --- src/server/scripts/CMakeLists.txt | 2 ++ src/server/scripts/Spells/spell_dk.cpp | 36 ++++++++++++++++++++++++++++ src/server/scripts/Spells/spell_druid.cpp | 36 ++++++++++++++++++++++++++++ src/server/scripts/Spells/spell_generic.cpp | 37 +++++++++++++++++++++++++++++ src/server/scripts/Spells/spell_hunter.cpp | 36 ++++++++++++++++++++++++++++ src/server/scripts/Spells/spell_mage.cpp | 36 ++++++++++++++++++++++++++++ src/server/scripts/Spells/spell_paladin.cpp | 36 ++++++++++++++++++++++++++++ src/server/scripts/Spells/spell_priest.cpp | 36 ++++++++++++++++++++++++++++ src/server/scripts/Spells/spell_rogue.cpp | 36 ++++++++++++++++++++++++++++ src/server/scripts/Spells/spell_shaman.cpp | 36 ++++++++++++++++++++++++++++ src/server/scripts/Spells/spell_warlock.cpp | 36 ++++++++++++++++++++++++++++ src/server/scripts/Spells/spell_warrior.cpp | 36 ++++++++++++++++++++++++++++ src/server/scripts/World/spell_dk.cpp | 36 ---------------------------- src/server/scripts/World/spell_druid.cpp | 36 ---------------------------- src/server/scripts/World/spell_generic.cpp | 37 ----------------------------- src/server/scripts/World/spell_hunter.cpp | 36 ---------------------------- src/server/scripts/World/spell_mage.cpp | 36 ---------------------------- src/server/scripts/World/spell_paladin.cpp | 36 ---------------------------- src/server/scripts/World/spell_priest.cpp | 36 ---------------------------- src/server/scripts/World/spell_rogue.cpp | 36 ---------------------------- src/server/scripts/World/spell_shaman.cpp | 36 ---------------------------- src/server/scripts/World/spell_warlock.cpp | 36 ---------------------------- src/server/scripts/World/spell_warrior.cpp | 36 ---------------------------- 23 files changed, 399 insertions(+), 397 deletions(-) create mode 100644 src/server/scripts/Spells/spell_dk.cpp create mode 100644 src/server/scripts/Spells/spell_druid.cpp create mode 100644 src/server/scripts/Spells/spell_generic.cpp create mode 100644 src/server/scripts/Spells/spell_hunter.cpp create mode 100644 src/server/scripts/Spells/spell_mage.cpp create mode 100644 src/server/scripts/Spells/spell_paladin.cpp create mode 100644 src/server/scripts/Spells/spell_priest.cpp create mode 100644 src/server/scripts/Spells/spell_rogue.cpp create mode 100644 src/server/scripts/Spells/spell_shaman.cpp create mode 100644 src/server/scripts/Spells/spell_warlock.cpp create mode 100644 src/server/scripts/Spells/spell_warrior.cpp delete mode 100644 src/server/scripts/World/spell_dk.cpp delete mode 100644 src/server/scripts/World/spell_druid.cpp delete mode 100644 src/server/scripts/World/spell_generic.cpp delete mode 100644 src/server/scripts/World/spell_hunter.cpp delete mode 100644 src/server/scripts/World/spell_mage.cpp delete mode 100644 src/server/scripts/World/spell_paladin.cpp delete mode 100644 src/server/scripts/World/spell_priest.cpp delete mode 100644 src/server/scripts/World/spell_rogue.cpp delete mode 100644 src/server/scripts/World/spell_shaman.cpp delete mode 100644 src/server/scripts/World/spell_warlock.cpp delete mode 100644 src/server/scripts/World/spell_warrior.cpp (limited to 'src/server') diff --git a/src/server/scripts/CMakeLists.txt b/src/server/scripts/CMakeLists.txt index 1c55955c777..9f0cd8ad452 100644 --- a/src/server/scripts/CMakeLists.txt +++ b/src/server/scripts/CMakeLists.txt @@ -13,6 +13,7 @@ file(GLOB_RECURSE scripts_kalimdor Kalimdor/*.cpp) file(GLOB_RECURSE scripts_northrend Northrend/*.cpp) file(GLOB_RECURSE scripts_outland Outland/*.cpp) file(GLOB_RECURSE scripts_world World/*.cpp) +file(GLOB_RECURSE scripts_spells Spells/*.cpp) file(GLOB_RECURSE scripts_examples Examples/*.cpp) # Enable precompiled headers when using the GCC compiler. @@ -34,6 +35,7 @@ set(scripts_STAT_SRCS ${scripts_northrend} ${scripts_outland} ${scripts_world} + ${script_spells} ${scripts_examples} ) message("-- Added Scriptengine to SCRIPTS lib") diff --git a/src/server/scripts/Spells/spell_dk.cpp b/src/server/scripts/Spells/spell_dk.cpp new file mode 100644 index 00000000000..b8b32d248ff --- /dev/null +++ b/src/server/scripts/Spells/spell_dk.cpp @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2008-2010 TrinityCore + * + * 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 . + */ + +/* + * Scripts for spells with SPELLFAMILY_DEATHKNIGHT and SPELLFAMILY_GENERIC spells used by deathknight players. + * Ordered alphabetically using scriptname. + * Scriptnames of files in this file should be prefixed with "spell_dk_". + */ + +#include "ScriptPCH.h" + +void AddSC_deathknight_spell_scripts() +{ + //Script *newscript; + + /* + newscript = new Script; + newscript->Name = "spell_dk_"; + newscript->GetSpellScript = &GetSpellScript_spell_dk_; + newscript->RegisterSelf(); + */ +} \ No newline at end of file diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp new file mode 100644 index 00000000000..49f0cae2ade --- /dev/null +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2008-2010 TrinityCore + * + * 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 . + */ + +/* + * Scripts for spells with SPELLFAMILY_DRUID and SPELLFAMILY_GENERIC spells used by druid players. + * Ordered alphabetically using scriptname. + * Scriptnames of files in this file should be prefixed with "spell_dru_". + */ + +#include "ScriptPCH.h" + +void AddSC_druid_spell_scripts() +{ + //Script *newscript; + + /* + newscript = new Script; + newscript->Name = "spell_dru_"; + newscript->GetSpellScript = &GetSpellScript_spell_dru_; + newscript->RegisterSelf(); + */ +} \ No newline at end of file diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp new file mode 100644 index 00000000000..7020d267345 --- /dev/null +++ b/src/server/scripts/Spells/spell_generic.cpp @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2008-2010 TrinityCore + * + * 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 . + */ + +/* + * Scripts for spells with SPELLFAMILY_GENERIC which cannot be included in AI script file + * of creature using it or can't be bound to any player class. + * Ordered alphabetically using scriptname. + * Scriptnames of files in this file should be prefixed with "spell_gen_" + */ + +#include "ScriptPCH.h" + +void AddSC_generic_spell_scripts() +{ + //Script *newscript; + + /* + newscript = new Script; + newscript->Name = "spell_gen_"; + newscript->GetSpellScript = &GetSpellScript_spell_gen_; + newscript->RegisterSelf(); + */ +} \ No newline at end of file diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp new file mode 100644 index 00000000000..1a3ef010cbb --- /dev/null +++ b/src/server/scripts/Spells/spell_hunter.cpp @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2008-2010 TrinityCore + * + * 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 . + */ + +/* + * Scripts for spells with SPELLFAMILY_HUNTER, SPELLFAMILY_PET and SPELLFAMILY_GENERIC spells used by hunter players. + * Ordered alphabetically using scriptname. + * Scriptnames of files in this file should be prefixed with "spell_hun_". + */ + +#include "ScriptPCH.h" + +void AddSC_hunter_spell_scripts() +{ + //Script *newscript; + + /* + newscript = new Script; + newscript->Name = "spell_hun_"; + newscript->GetSpellScript = &GetSpellScript_spell_hun_; + newscript->RegisterSelf(); + */ +} \ No newline at end of file diff --git a/src/server/scripts/Spells/spell_mage.cpp b/src/server/scripts/Spells/spell_mage.cpp new file mode 100644 index 00000000000..4f609800346 --- /dev/null +++ b/src/server/scripts/Spells/spell_mage.cpp @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2008-2010 TrinityCore + * + * 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 . + */ + +/* + * Scripts for spells with SPELLFAMILY_MAGE and SPELLFAMILY_GENERIC spells used by mage players. + * Ordered alphabetically using scriptname. + * Scriptnames of files in this file should be prefixed with "spell_mag_". + */ + +#include "ScriptPCH.h" + +void AddSC_mage_spell_scripts() +{ + //Script *newscript; + + /* + newscript = new Script; + newscript->Name = "spell_mag_"; + newscript->GetSpellScript = &GetSpellScript_spell_mag_; + newscript->RegisterSelf(); + */ +} \ No newline at end of file diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp new file mode 100644 index 00000000000..24141205e76 --- /dev/null +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2008-2010 TrinityCore + * + * 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 . + */ + +/* + * Scripts for spells with SPELLFAMILY_SHAMAN and SPELLFAMILY_GENERIC spells used by paladin players. + * Ordered alphabetically using scriptname. + * Scriptnames of files in this file should be prefixed with "spell_pal_". + */ + +#include "ScriptPCH.h" + +void AddSC_paladin_spell_scripts() +{ + //Script *newscript; + + /* + newscript = new Script; + newscript->Name = "spell_pal_"; + newscript->GetSpellScript = &GetSpellScript_spell_pal_; + newscript->RegisterSelf(); + */ +} \ No newline at end of file diff --git a/src/server/scripts/Spells/spell_priest.cpp b/src/server/scripts/Spells/spell_priest.cpp new file mode 100644 index 00000000000..c5dc3d854ae --- /dev/null +++ b/src/server/scripts/Spells/spell_priest.cpp @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2008-2010 TrinityCore + * + * 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 . + */ + +/* + * Scripts for spells with SPELLFAMILY_PRIEST and SPELLFAMILY_GENERIC spells used by priest players. + * Ordered alphabetically using scriptname. + * Scriptnames of files in this file should be prefixed with "spell_pri_". + */ + +#include "ScriptPCH.h" + +void AddSC_priest_spell_scripts() +{ + //Script *newscript; + + /* + newscript = new Script; + newscript->Name = "spell_pri_"; + newscript->GetSpellScript = &GetSpellScript_spell_pri_; + newscript->RegisterSelf(); + */ +} \ No newline at end of file diff --git a/src/server/scripts/Spells/spell_rogue.cpp b/src/server/scripts/Spells/spell_rogue.cpp new file mode 100644 index 00000000000..b701443e98b --- /dev/null +++ b/src/server/scripts/Spells/spell_rogue.cpp @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2008-2010 TrinityCore + * + * 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 . + */ + +/* + * Scripts for spells with SPELLFAMILY_ROGUE and SPELLFAMILY_GENERIC spells used by rogue players. + * Ordered alphabetically using scriptname. + * Scriptnames of files in this file should be prefixed with "spell_rog_". + */ + +#include "ScriptPCH.h" + +void AddSC_rogue_spell_scripts() +{ + //Script *newscript; + + /* + newscript = new Script; + newscript->Name = "spell_rog_"; + newscript->GetSpellScript = &GetSpellScript_spell_rog_; + newscript->RegisterSelf(); + */ +} \ No newline at end of file diff --git a/src/server/scripts/Spells/spell_shaman.cpp b/src/server/scripts/Spells/spell_shaman.cpp new file mode 100644 index 00000000000..f689a3c68ee --- /dev/null +++ b/src/server/scripts/Spells/spell_shaman.cpp @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2008-2010 TrinityCore + * + * 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 . + */ + +/* + * Scripts for spells with SPELLFAMILY_SHAMAN and SPELLFAMILY_GENERIC spells used by shaman players. + * Ordered alphabetically using scriptname. + * Scriptnames of files in this file should be prefixed with "spell_sha_". + */ + +#include "ScriptPCH.h" + +void AddSC_shaman_spell_scripts() +{ + //Script *newscript; + + /* + newscript = new Script; + newscript->Name = "spell_sha_"; + newscript->GetSpellScript = &GetSpellScript_spell_sha_; + newscript->RegisterSelf(); + */ +} \ No newline at end of file diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp new file mode 100644 index 00000000000..24ee8d682a2 --- /dev/null +++ b/src/server/scripts/Spells/spell_warlock.cpp @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2008-2010 TrinityCore + * + * 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 . + */ + +/* + * Scripts for spells with SPELLFAMILY_WARLOCK and SPELLFAMILY_GENERIC spells used by warlock players. + * Ordered alphabetically using scriptname. + * Scriptnames of files in this file should be prefixed with "spell_warl_". + */ + +#include "ScriptPCH.h" + +void AddSC_warlock_spell_scripts() +{ + //Script *newscript; + + /* + newscript = new Script; + newscript->Name = "spell_warl_"; + newscript->GetSpellScript = &GetSpellScript_spell_warl_; + newscript->RegisterSelf(); + */ +} \ No newline at end of file diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp new file mode 100644 index 00000000000..dbd7901dc09 --- /dev/null +++ b/src/server/scripts/Spells/spell_warrior.cpp @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2008-2010 TrinityCore + * + * 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 . + */ + +/* + * Scripts for spells with SPELLFAMILY_WARRIOR and SPELLFAMILY_GENERIC spells used by warrior players. + * Ordered alphabetically using scriptname. + * Scriptnames of files in this file should be prefixed with "spell_warr_". + */ + +#include "ScriptPCH.h" + +void AddSC_warrior_spell_scripts() +{ + //Script *newscript; + + /* + newscript = new Script; + newscript->Name = "spell_warr_"; + newscript->GetSpellScript = &GetSpellScript_spell_warr_; + newscript->RegisterSelf(); + */ +} \ No newline at end of file diff --git a/src/server/scripts/World/spell_dk.cpp b/src/server/scripts/World/spell_dk.cpp deleted file mode 100644 index b8b32d248ff..00000000000 --- a/src/server/scripts/World/spell_dk.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2008-2010 TrinityCore - * - * 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 . - */ - -/* - * Scripts for spells with SPELLFAMILY_DEATHKNIGHT and SPELLFAMILY_GENERIC spells used by deathknight players. - * Ordered alphabetically using scriptname. - * Scriptnames of files in this file should be prefixed with "spell_dk_". - */ - -#include "ScriptPCH.h" - -void AddSC_deathknight_spell_scripts() -{ - //Script *newscript; - - /* - newscript = new Script; - newscript->Name = "spell_dk_"; - newscript->GetSpellScript = &GetSpellScript_spell_dk_; - newscript->RegisterSelf(); - */ -} \ No newline at end of file diff --git a/src/server/scripts/World/spell_druid.cpp b/src/server/scripts/World/spell_druid.cpp deleted file mode 100644 index 49f0cae2ade..00000000000 --- a/src/server/scripts/World/spell_druid.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2008-2010 TrinityCore - * - * 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 . - */ - -/* - * Scripts for spells with SPELLFAMILY_DRUID and SPELLFAMILY_GENERIC spells used by druid players. - * Ordered alphabetically using scriptname. - * Scriptnames of files in this file should be prefixed with "spell_dru_". - */ - -#include "ScriptPCH.h" - -void AddSC_druid_spell_scripts() -{ - //Script *newscript; - - /* - newscript = new Script; - newscript->Name = "spell_dru_"; - newscript->GetSpellScript = &GetSpellScript_spell_dru_; - newscript->RegisterSelf(); - */ -} \ No newline at end of file diff --git a/src/server/scripts/World/spell_generic.cpp b/src/server/scripts/World/spell_generic.cpp deleted file mode 100644 index 7020d267345..00000000000 --- a/src/server/scripts/World/spell_generic.cpp +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2008-2010 TrinityCore - * - * 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 . - */ - -/* - * Scripts for spells with SPELLFAMILY_GENERIC which cannot be included in AI script file - * of creature using it or can't be bound to any player class. - * Ordered alphabetically using scriptname. - * Scriptnames of files in this file should be prefixed with "spell_gen_" - */ - -#include "ScriptPCH.h" - -void AddSC_generic_spell_scripts() -{ - //Script *newscript; - - /* - newscript = new Script; - newscript->Name = "spell_gen_"; - newscript->GetSpellScript = &GetSpellScript_spell_gen_; - newscript->RegisterSelf(); - */ -} \ No newline at end of file diff --git a/src/server/scripts/World/spell_hunter.cpp b/src/server/scripts/World/spell_hunter.cpp deleted file mode 100644 index 1a3ef010cbb..00000000000 --- a/src/server/scripts/World/spell_hunter.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2008-2010 TrinityCore - * - * 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 . - */ - -/* - * Scripts for spells with SPELLFAMILY_HUNTER, SPELLFAMILY_PET and SPELLFAMILY_GENERIC spells used by hunter players. - * Ordered alphabetically using scriptname. - * Scriptnames of files in this file should be prefixed with "spell_hun_". - */ - -#include "ScriptPCH.h" - -void AddSC_hunter_spell_scripts() -{ - //Script *newscript; - - /* - newscript = new Script; - newscript->Name = "spell_hun_"; - newscript->GetSpellScript = &GetSpellScript_spell_hun_; - newscript->RegisterSelf(); - */ -} \ No newline at end of file diff --git a/src/server/scripts/World/spell_mage.cpp b/src/server/scripts/World/spell_mage.cpp deleted file mode 100644 index 4f609800346..00000000000 --- a/src/server/scripts/World/spell_mage.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2008-2010 TrinityCore - * - * 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 . - */ - -/* - * Scripts for spells with SPELLFAMILY_MAGE and SPELLFAMILY_GENERIC spells used by mage players. - * Ordered alphabetically using scriptname. - * Scriptnames of files in this file should be prefixed with "spell_mag_". - */ - -#include "ScriptPCH.h" - -void AddSC_mage_spell_scripts() -{ - //Script *newscript; - - /* - newscript = new Script; - newscript->Name = "spell_mag_"; - newscript->GetSpellScript = &GetSpellScript_spell_mag_; - newscript->RegisterSelf(); - */ -} \ No newline at end of file diff --git a/src/server/scripts/World/spell_paladin.cpp b/src/server/scripts/World/spell_paladin.cpp deleted file mode 100644 index 24141205e76..00000000000 --- a/src/server/scripts/World/spell_paladin.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2008-2010 TrinityCore - * - * 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 . - */ - -/* - * Scripts for spells with SPELLFAMILY_SHAMAN and SPELLFAMILY_GENERIC spells used by paladin players. - * Ordered alphabetically using scriptname. - * Scriptnames of files in this file should be prefixed with "spell_pal_". - */ - -#include "ScriptPCH.h" - -void AddSC_paladin_spell_scripts() -{ - //Script *newscript; - - /* - newscript = new Script; - newscript->Name = "spell_pal_"; - newscript->GetSpellScript = &GetSpellScript_spell_pal_; - newscript->RegisterSelf(); - */ -} \ No newline at end of file diff --git a/src/server/scripts/World/spell_priest.cpp b/src/server/scripts/World/spell_priest.cpp deleted file mode 100644 index c5dc3d854ae..00000000000 --- a/src/server/scripts/World/spell_priest.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2008-2010 TrinityCore - * - * 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 . - */ - -/* - * Scripts for spells with SPELLFAMILY_PRIEST and SPELLFAMILY_GENERIC spells used by priest players. - * Ordered alphabetically using scriptname. - * Scriptnames of files in this file should be prefixed with "spell_pri_". - */ - -#include "ScriptPCH.h" - -void AddSC_priest_spell_scripts() -{ - //Script *newscript; - - /* - newscript = new Script; - newscript->Name = "spell_pri_"; - newscript->GetSpellScript = &GetSpellScript_spell_pri_; - newscript->RegisterSelf(); - */ -} \ No newline at end of file diff --git a/src/server/scripts/World/spell_rogue.cpp b/src/server/scripts/World/spell_rogue.cpp deleted file mode 100644 index b701443e98b..00000000000 --- a/src/server/scripts/World/spell_rogue.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2008-2010 TrinityCore - * - * 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 . - */ - -/* - * Scripts for spells with SPELLFAMILY_ROGUE and SPELLFAMILY_GENERIC spells used by rogue players. - * Ordered alphabetically using scriptname. - * Scriptnames of files in this file should be prefixed with "spell_rog_". - */ - -#include "ScriptPCH.h" - -void AddSC_rogue_spell_scripts() -{ - //Script *newscript; - - /* - newscript = new Script; - newscript->Name = "spell_rog_"; - newscript->GetSpellScript = &GetSpellScript_spell_rog_; - newscript->RegisterSelf(); - */ -} \ No newline at end of file diff --git a/src/server/scripts/World/spell_shaman.cpp b/src/server/scripts/World/spell_shaman.cpp deleted file mode 100644 index f689a3c68ee..00000000000 --- a/src/server/scripts/World/spell_shaman.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2008-2010 TrinityCore - * - * 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 . - */ - -/* - * Scripts for spells with SPELLFAMILY_SHAMAN and SPELLFAMILY_GENERIC spells used by shaman players. - * Ordered alphabetically using scriptname. - * Scriptnames of files in this file should be prefixed with "spell_sha_". - */ - -#include "ScriptPCH.h" - -void AddSC_shaman_spell_scripts() -{ - //Script *newscript; - - /* - newscript = new Script; - newscript->Name = "spell_sha_"; - newscript->GetSpellScript = &GetSpellScript_spell_sha_; - newscript->RegisterSelf(); - */ -} \ No newline at end of file diff --git a/src/server/scripts/World/spell_warlock.cpp b/src/server/scripts/World/spell_warlock.cpp deleted file mode 100644 index 24ee8d682a2..00000000000 --- a/src/server/scripts/World/spell_warlock.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2008-2010 TrinityCore - * - * 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 . - */ - -/* - * Scripts for spells with SPELLFAMILY_WARLOCK and SPELLFAMILY_GENERIC spells used by warlock players. - * Ordered alphabetically using scriptname. - * Scriptnames of files in this file should be prefixed with "spell_warl_". - */ - -#include "ScriptPCH.h" - -void AddSC_warlock_spell_scripts() -{ - //Script *newscript; - - /* - newscript = new Script; - newscript->Name = "spell_warl_"; - newscript->GetSpellScript = &GetSpellScript_spell_warl_; - newscript->RegisterSelf(); - */ -} \ No newline at end of file diff --git a/src/server/scripts/World/spell_warrior.cpp b/src/server/scripts/World/spell_warrior.cpp deleted file mode 100644 index dbd7901dc09..00000000000 --- a/src/server/scripts/World/spell_warrior.cpp +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2008-2010 TrinityCore - * - * 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 . - */ - -/* - * Scripts for spells with SPELLFAMILY_WARRIOR and SPELLFAMILY_GENERIC spells used by warrior players. - * Ordered alphabetically using scriptname. - * Scriptnames of files in this file should be prefixed with "spell_warr_". - */ - -#include "ScriptPCH.h" - -void AddSC_warrior_spell_scripts() -{ - //Script *newscript; - - /* - newscript = new Script; - newscript->Name = "spell_warr_"; - newscript->GetSpellScript = &GetSpellScript_spell_warr_; - newscript->RegisterSelf(); - */ -} \ No newline at end of file -- cgit v1.2.3