private void BuildBaseClassHelper(PreCharParams p, MChar c) { var builder = new ClassBuilder(); foreach (var kvp in p.Classes) { var toAdd = builder.Build(kvp.Key); toAdd.Level = kvp.Value; c.GetBaseClasses().Add(kvp.Key, toAdd); } }
private void BuildClassSecondaryStats(MChar c) { foreach (var kvp in c.GetBaseClasses()) { var stats = kvp.Value.GetParams(); foreach (var stat in stats.SecondaryStats) { c.GetBaseStats().AddStat(stat.Key, stat.Value); } } }