refactor(Core/Config): Change PlayerStart.AllSpells to .CustomSpells (#4345)

* Change PlayerStart.AllSpells to .CustomSpells

Remove wrong info regarding the  playercreateinfo_spell_custom table. Change the config flags name to match its purpose.

* Update src/server/worldserver/worldserver.conf.dist

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/World/World.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/game/World/World.cpp
This commit is contained in:
55Honey
2021-02-03 01:01:33 +01:00
committed by GitHub
parent 5e2aa422ba
commit 5a3c77a691
2 changed files with 5 additions and 9 deletions

View File

@@ -3241,15 +3241,13 @@ ItemDelete.ItemLevel = 80
PlayerStart.AllReputation = 0
#
# PlayerStart.AllSpells
# 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.
# PlayerStart.CustomSpells
# Description: If enabled, players will ignore spells from playercreateinfo_spellstart at character
# creation and will start with spells from the table playercreateinfo_spell_custom instead.
# Default: 0 - (Disabled)
# 1 - (Enabled)
PlayerStart.AllSpells = 0
PlayerStart.CustomSpells = 0
#
# PlayerStart.MapsExplored