Core/Talents: Fixes learning pvp talents

This commit is contained in:
hondacrx
2021-01-27 00:14:50 -05:00
parent 7d6be17c79
commit ae6affc44a
4 changed files with 19 additions and 11 deletions
+2 -2
View File
@@ -329,13 +329,13 @@ namespace Game.Entities
for (byte i = 0; i < PlayerConst.MaxSpecializations; ++i)
{
Talents[i] = new Dictionary<uint, PlayerSpellState>();
PvpTalents[i] = new Array<uint>(PlayerConst.MaxPvpTalentSlots, 0);
PvpTalents[i] = new uint[PlayerConst.MaxPvpTalentSlots];
Glyphs[i] = new List<uint>();
}
}
public Dictionary<uint, PlayerSpellState>[] Talents = new Dictionary<uint, PlayerSpellState>[PlayerConst.MaxSpecializations];
public Array<uint>[] PvpTalents = new Array<uint>[PlayerConst.MaxSpecializations];
public uint[][] PvpTalents = new uint[PlayerConst.MaxSpecializations][];
public List<uint>[] Glyphs = new List<uint>[PlayerConst.MaxSpecializations];
public uint ResetTalentsCost;
public long ResetTalentsTime;