Barotrauma Client Doc
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. More...
 
readonly float Amount
 How much to increase the skill. More...
 
readonly bool TriggerTalents
 Should the talents that trigger when the character gains skills be triggered by the effect? More...
 

Detailed Description

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

Definition at line 320 of file BarotraumaShared/SharedSource/StatusEffects/StatusEffect.cs.

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.

Definition at line 329 of file BarotraumaShared/SharedSource/StatusEffects/StatusEffect.cs.

◆ SkillIdentifier

readonly Identifier Barotrauma.StatusEffect.GiveSkill.SkillIdentifier

The identifier of the skill to increase.

Definition at line 325 of file BarotraumaShared/SharedSource/StatusEffects/StatusEffect.cs.

◆ TriggerTalents

readonly bool Barotrauma.StatusEffect.GiveSkill.TriggerTalents

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

Definition at line 333 of file BarotraumaShared/SharedSource/StatusEffects/StatusEffect.cs.