Repository navigation
Releases: CG-Nik/CustomSkillsAPI
Releases · CG-Nik/CustomSkillsAPI
Release list
v5
v4
v3
CHANGES
- Added a thing that automatically handles AddProgressionSlots and AddInherits for mods
- Also removed both of those hooks, as they’re obsolete
- Added a function that mods can call that automatically adds ProfessionSkills to the list of ProfessionSkills that the game has
MOD DEVELOPER NEEDED CHANGES
- progressionSlots.Add() should be changed to CustomSkillsAPI.Core.progressionSlots.Add()
- Remove the AddProgressionSlots and AddInherits hooks, CustomSkillsAPI handles it for you now
- Replace
ProfessionSkill.CheckItems(); Dictionary<uint, ProfessionSkill> items = (Dictionary<uint, ProfessionSkill>)typeof(HashedGeneralValue<ProfessionSkill>).GetField("items", BindingFlags.Static | BindingFlags.NonPublic).GetValue(null); items.Add(customSkill.Hash, customSkill);(where customSkill is a ProfessionSkill) withCustomSkillsAPI.Core.RegisterProfessionSkill(customSkill);