From 502a7e6a2e779e08d93e8a5e51e8ea7a3a068fcc Mon Sep 17 00:00:00 2001 From: Appled Date: Mon, 10 Nov 2014 21:04:37 +0000 Subject: 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 --- src/server/game/World/World.cpp | 2 -- src/server/worldserver/worldserver.conf.dist | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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) -- cgit v1.2.3