Increases a character's skills when the effect executes. Only valid if the target is a character or a limb.
More...
|
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.
|
|
Increases a character's skills when the effect executes. Only valid if the target is a character or a limb.
◆ GiveSkill()
Barotrauma.StatusEffect.GiveSkill.GiveSkill |
( |
ContentXElement | element, |
|
|
string | parentDebugName ) |
◆ 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:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/StatusEffects/StatusEffect.cs