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
This commit is contained in:
1 parent
971f486176
commit
502a7e6a2e
3 files changed
+463
-3
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user