Table of Contents

Method AddSkill

Namespace
GrindFest
Assembly
GrindFest.dll

AddSkill(Skill)

Adds a skill to the character. A character owns at most one instance of a type, so re-adding one it already has returns that instance: UseSkill(Skill, bool) hands back the skill it was given on every use, and the create-then-add callers (books, scrolls, save load) should never end up with a second copy. Master's version had the same guard as a SkillContainer parent check. A buff that is already present is refreshed/stacked instead of being duplicated.

public Skill AddSkill(Skill skill)

Parameters

skill Skill

Returns

Skill