From 79aafd5865f11b5ecdd2865829562b981652db75 Mon Sep 17 00:00:00 2001
From: Ovalord <1Don7H4v3@m41L.com>
Date: Sat, 23 Jul 2016 18:39:56 +0200
Subject: Core/Players: Initial work on demon hunters
* Added starting level and required level config options as well as rbac permission to ignore the requirements
* Updated max power values for both demon hunter specs
* Fixed a crash during DK and DH creation
* Added playercreateinfo data for demon hunters
Closes #17651
---
src/server/scripts/Spells/spell_dh.cpp | 26 +++++++++++++++++++++++
src/server/scripts/Spells/spell_script_loader.cpp | 2 ++
2 files changed, 28 insertions(+)
create mode 100644 src/server/scripts/Spells/spell_dh.cpp
(limited to 'src/server/scripts')
diff --git a/src/server/scripts/Spells/spell_dh.cpp b/src/server/scripts/Spells/spell_dh.cpp
new file mode 100644
index 00000000000..3d36c446fa7
--- /dev/null
+++ b/src/server/scripts/Spells/spell_dh.cpp
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2008-2016 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_DEMONHUNTER and SPELLFAMILY_GENERIC spells used by deathknight players.
+ * Ordered alphabetically using scriptname.
+ * Scriptnames of files in this file should be prefixed with "spell_dh_".
+ */
+
+void AddSC_demon_hunter_spell_scripts()
+{
+}
diff --git a/src/server/scripts/Spells/spell_script_loader.cpp b/src/server/scripts/Spells/spell_script_loader.cpp
index c841c3b4ef8..167eb2b1da6 100644
--- a/src/server/scripts/Spells/spell_script_loader.cpp
+++ b/src/server/scripts/Spells/spell_script_loader.cpp
@@ -17,6 +17,7 @@
// This is where scripts' loading functions should be declared:
void AddSC_deathknight_spell_scripts();
+void AddSC_demon_hunter_spell_scripts();
void AddSC_druid_spell_scripts();
void AddSC_generic_spell_scripts();
void AddSC_hunter_spell_scripts();
@@ -37,6 +38,7 @@ void AddSC_holiday_spell_scripts();
void AddSpellsScripts()
{
AddSC_deathknight_spell_scripts();
+ AddSC_demon_hunter_spell_scripts();
AddSC_druid_spell_scripts();
AddSC_generic_spell_scripts();
AddSC_hunter_spell_scripts();
--
cgit v1.2.3