mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7067] Move inactive form/stance passive spells from playercreateinfo_spell to spell_learn_spell with active field.
This let have in `playercreateinfo_spell` only expected at character creating spells for simplify updating.
This commit is contained in:
parent
6165da2b3a
commit
f956a3bf10
12 changed files with 2742 additions and 2724 deletions
|
|
@ -2225,8 +2225,8 @@ void ObjectMgr::LoadPlayerInfo()
|
|||
|
||||
// Load playercreate spells
|
||||
{
|
||||
// 0 1 2 3
|
||||
QueryResult *result = WorldDatabase.Query("SELECT race, class, Spell, Active FROM playercreateinfo_spell");
|
||||
// 0 1 2
|
||||
QueryResult *result = WorldDatabase.Query("SELECT race, class, Spell FROM playercreateinfo_spell");
|
||||
|
||||
uint32 count = 0;
|
||||
|
||||
|
|
@ -2261,7 +2261,7 @@ void ObjectMgr::LoadPlayerInfo()
|
|||
}
|
||||
|
||||
PlayerInfo* pInfo = &playerInfo[current_race][current_class];
|
||||
pInfo->spell.push_back(CreateSpellPair(fields[2].GetUInt16(), fields[3].GetUInt8()));
|
||||
pInfo->spell.push_back(fields[2].GetUInt32());
|
||||
|
||||
bar.step();
|
||||
++count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue