Barotrauma Client
Loading...
Searching...
No Matches
Barotrauma.StatusEffect.GiveSkill Class Reference

Increases a character's skills when the effect executes. Only valid if the target is a character or a limb. More...

Public Member Functions

 GiveSkill (ContentXElement element, string parentDebugName)
 

Public Attributes

readonly Identifier SkillIdentifier
 The identifier of the skill to increase.
 
readonly float Amount
 How much to increase the skill.
 
readonly bool TriggerTalents
 Should the talents that trigger when the character gains skills be triggered by the effect?
 
readonly bool UseDeltaTime
 Should the amount be multiplied by delta time? Useful if you want to give a skill increase per frame.
 
readonly bool Proportional
 Should the amount be inversely proportional to the current skill level? Meaning, the higher the skill level, the less the skill is increased.
 

Detailed Description

Increases a character's skills when the effect executes. Only valid if the target is a character or a limb.

Constructor & Destructor Documentation

◆ GiveSkill()

Barotrauma.StatusEffect.GiveSkill.GiveSkill ( ContentXElement element,
string parentDebugName )

Member Data Documentation

◆ Amount

readonly float Barotrauma.StatusEffect.GiveSkill.Amount

How much to increase the skill.

◆ Proportional

readonly bool Barotrauma.StatusEffect.GiveSkill.Proportional

Should the amount be inversely proportional to the current skill level? Meaning, the higher the skill level, the less the skill is increased.

◆ SkillIdentifier

readonly Identifier Barotrauma.StatusEffect.GiveSkill.SkillIdentifier

The identifier of the skill to increase.

◆ TriggerTalents

readonly bool Barotrauma.StatusEffect.GiveSkill.TriggerTalents

Should the talents that trigger when the character gains skills be triggered by the effect?

◆ UseDeltaTime

readonly bool Barotrauma.StatusEffect.GiveSkill.UseDeltaTime

Should the amount be multiplied by delta time? Useful if you want to give a skill increase per frame.


The documentation for this class was generated from the following file: