generated from azerothcore/skeleton-module
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from sogladev/config
add config, custom speed for night elves
- Loading branch information
Showing
7 changed files
with
124 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# | ||
# Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3 | ||
# | ||
|
||
[worldserver] | ||
|
||
######################################## | ||
# Ghost Speed module configuration | ||
######################################## | ||
# | ||
# GhostSpeed.Speed | ||
# Description: Custom BasePoints for 8326 Ghost EFFECT_1 SPELL_AURA_MOD_INCREASE_SPEED | ||
# Default: 200 - Fast | ||
# 50 - Blizzard Default | ||
# 75 - Blizzard Default for Night Elves (+50% racial bonus) | ||
# 500 - Zoom | ||
# | ||
# GhostSpeed.SpeedSwim | ||
# Description: Custom BasePoints for 8326 Ghost EFFECT_2 SPELL_AURA_MOD_INCREASE_SWIM_SPEED | ||
# Default: 200 - Fast | ||
# 50 - Blizzard Default | ||
# 75 - Blizzard Default for Night Elves (+50% racial bonus) | ||
# 500 - Zoom | ||
# | ||
# GhostSpeed.SpeedNightElf | ||
# Description: Custom BasePoints for Night Elf 20584 Ghost EFFECT_1 SPELL_AURA_MOD_INCREASE_SPEED | ||
# Default: 300 - Fast (200 + 50% racial bonus) | ||
# 50 - Blizzard Default | ||
# 75 - Blizzard Default for Night Elves (+50% racial bonus) | ||
# 500 - Zoom | ||
# | ||
# GhostSpeed.SpeedSwimNightElf | ||
# Description: Custom BasePoints for Night Elf 20584 Ghost EFFECT_2 SPELL_AURA_MOD_INCREASE_SWIM_SPEED | ||
# Default: 300 - Fast (200 + 50% racial bonus) | ||
# 50 - Blizzard Default | ||
# 75 - Blizzard Default for Night Elves (+50% racial bonus) | ||
# 500 - Zoom | ||
|
||
GhostSpeed.Speed = 200 | ||
GhostSpeed.SpeedSwim = 200 | ||
GhostSpeed.SpeedNightElf = 300 | ||
GhostSpeed.SpeedSwimNightElf = 300 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
-- modify ghost speed | ||
DELETE FROM `spell_script_names` WHERE `spell_id` = 8326; | ||
DELETE FROM `spell_script_names` WHERE `spell_id` = 8326 AND `ScriptName` = 'spell_ghost_speed_aura'; | ||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (8326, 'spell_ghost_speed_aura'); | ||
DELETE FROM `spell_script_names` WHERE `spell_id` = 20584 AND `ScriptName` = 'spell_ghost_speed_night_elf_aura'; | ||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (20584, 'spell_ghost_speed_night_elf_aura'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
-- | ||
DELETE FROM `spell_script_names` WHERE `spell_id` = 8326; | ||
DELETE FROM `spell_script_names` WHERE `spell_id` = 8326 AND `ScriptName` = 'spell_ghost_speed_aura'; | ||
DELETE FROM `spell_script_names` WHERE `spell_id` = 20584 AND `ScriptName` = 'spell_ghost_speed_night_elf_aura'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef DEF_GHOSTSPEED_H | ||
#define DEF_GHOSTSPEED_H | ||
|
||
class GhostSpeed | ||
{ | ||
public: | ||
static GhostSpeed* instance(); | ||
|
||
int32 speed; | ||
int32 speedSwim; | ||
int32 speedNightElf; | ||
int32 speedSwimNightElf; | ||
}; | ||
|
||
#define sGhostSpeed GhostSpeed::instance() | ||
|
||
#endif |