diff options
| author | Ovalord <1Don7H4v3@m41L.com> | 2016-07-23 18:39:56 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2016-07-23 18:39:56 +0200 |
| commit | 79aafd5865f11b5ecdd2865829562b981652db75 (patch) | |
| tree | 73b19b280e4b153e8ba10e4f459421d0cc9f6712 /src/server/scripts/Spells | |
| parent | 3b8cdd434133939cec1c7aaceb24fb7dc98000f9 (diff) | |
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
Diffstat (limited to 'src/server/scripts/Spells')
| -rw-r--r-- | src/server/scripts/Spells/spell_dh.cpp | 26 | ||||
| -rw-r--r-- | src/server/scripts/Spells/spell_script_loader.cpp | 2 |
2 files changed, 28 insertions, 0 deletions
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 <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/>. + */ + +/* + * 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(); |
