aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAppled <roopejuhaniheinonen@gmail.com>2014-11-10 21:04:37 +0000
committerDDuarte <dnpd.dd@gmail.com>2014-11-10 21:04:37 +0000
commit502a7e6a2e779e08d93e8a5e51e8ea7a3a068fcc (patch)
tree51383fe67b64c64907b2be789c1f9678558d6c56 /src
parent971f486176e9f9de1670402a15d44c584e8150ac (diff)
DB/Spells: Cleaned playercreateinfo_spell_custom table and added WoTLK class spells only
Current playercreateinfo_spell_custom table has very weird spells in it. I emptied table, created new character for each class, logon each class, learned every spell from trainer and then added rest spells from quests (for example, hunters' Tame Beast). After that I did a PHP script to get character's spells from character_spell table and insert them into playercreateinfo_spell_custom table. This has all trainer spells and quest spells (if any) for 3.3.5! Fixes #13509 Closes #13516
Diffstat (limited to 'src')
-rw-r--r--src/server/game/World/World.cpp2
-rw-r--r--src/server/worldserver/worldserver.conf.dist2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/server/game/World/World.cpp b/src/server/game/World/World.cpp
index 05eb1084634..47dd37936aa 100644
--- a/src/server/game/World/World.cpp
+++ b/src/server/game/World/World.cpp
@@ -1159,8 +1159,6 @@ void World::LoadConfigSettings(bool reload)
m_int_configs[CONFIG_MAX_WHO] = sConfigMgr->GetIntDefault("MaxWhoListReturns", 49);
m_bool_configs[CONFIG_START_ALL_SPELLS] = sConfigMgr->GetBoolDefault("PlayerStart.AllSpells", false);
- if (m_bool_configs[CONFIG_START_ALL_SPELLS])
- TC_LOG_WARN("server.loading", "PlayerStart.AllSpells enabled - may not function as intended!");
m_int_configs[CONFIG_HONOR_AFTER_DUEL] = sConfigMgr->GetIntDefault("HonorPointsAfterDuel", 0);
m_bool_configs[CONFIG_START_ALL_EXPLORED] = sConfigMgr->GetBoolDefault("PlayerStart.MapsExplored", false);
m_bool_configs[CONFIG_START_ALL_REP] = sConfigMgr->GetBoolDefault("PlayerStart.AllReputation", false);
diff --git a/src/server/worldserver/worldserver.conf.dist b/src/server/worldserver/worldserver.conf.dist
index 37f907a9c96..faf6441fd72 100644
--- a/src/server/worldserver/worldserver.conf.dist
+++ b/src/server/worldserver/worldserver.conf.dist
@@ -2478,7 +2478,7 @@ PlayerStart.AllReputation = 0
# Description: If enabled, players will start with all their class spells (not talents).
# You must populate playercreateinfo_spell_custom table with the spells you
# want, or this will not work! The table has data for all classes / races up
-# to TBC expansion.
+# to WoTLK expansion.
# Default: 0 - (Disabled)
# 1 - (Enabled)