internal void CharacterSettingApplyResearch(Research research, int level) { if (research == null) { return; } float value = research.CalculateValue(level) - research.CalculateValue(level - 1); _userDatabase.AddCharacterResearch(research, level); AddCharacterSetting(research.Target, value); CharacterResearching.Level = 0; _userDatabase.SaveCharacterResearching(); }
internal void CharacterSettingApplyFullResearch(Research research, int level) { if (research == null) { return; } float value = research.CalculateValue(level); AddCharacterSetting(research.Target, value, false); }