SkillAsset

Used as a container for handling skill related actions in order not to change the file on disk.

Implementation

public class SkillAsset

Fields

Name

Description

Unique id of the skill

Boolean value which indicates if the skill is executing

Boolean value which indicates if the skill is in cooldown

Amount of time left of the cooldown

Boolean value which indicates if the skill is added to a skillbar

Index of the skill bar element the skill was added to

Localized string for the name of the skill

Localized string for the description of the skill

Icon for the image

Type of the skill

Execution type of the skill

Cast time duration of the skill in seconds

Execution time duration of the skill in seconds

Cooldown time duration of the skill in seconds

State of the skill at start

Checkbox to define whether skill points should be used to unlock

Amount of skill points needed to unlock

Checkbox to define whether this skill has a level requirement

Level of the skill needed to unlock

Contains all skills one relies on

Checkbox to define whether this skill can be added to a skill bar

Conditions in order to execute the skill

Actions called when the skill is in the activation phase

Actions called when the skill is in the casting phase

Actions called when the skill is in the execution phase

Actions called when the skill is in the finishing phase

Conditions to unlock the skill

Actions called when the skill is reset

Boolean value which indicates if the reset actions have been executed

Unity Event which is invoked when the skillState is changed

Last updated