Files
wwdpublic/Content.Server/Traits/Assorted/PotentiaModifierComponent.cs
VMSolidus 8e2d9722c3 More Psionic Traits (#983)
# Description

This PR adds 7 new Psionic-related Traits. All of these traits require
that a character either be a Latent Psychic, or be one of the
roundstart-Psionic roles.

# TODO

- [x] Finish the descriptions by making them extremely vague.

<details><summary><h1>Media</h1></summary>
<p>


![image](https://github.com/user-attachments/assets/6c9cc7e5-8420-4645-97a2-e15618aed764)

</p>
</details>

# Changelog

🆑
- add: 7 new Psionic-related Traits have been added to the game: High
Psi-Potential, Low Psi-Potential, Power Overwhelming, kα Abundance, kα
Deficiency, kδ Proficient, and kδ Defect
- add: Oni now have a built-in negative trait that acts as a more severe
version of Low Psi-Potential. Oni now have significant penalties to
generating new Psionic Powers.

---------

Signed-off-by: VMSolidus <evilexecutive@gmail.com>
2024-10-19 13:24:25 +07:00

21 lines
613 B
C#

namespace Content.Server.Traits.Assorted;
/// <summary>
/// This is used for traits that modify the outcome of Potentia Rolls
/// </summary>
[RegisterComponent]
public sealed partial class PotentiaModifierComponent : Component
{
/// <summary>
/// When rolling for psionic powers, increase the potentia gains by a flat amount.
/// </summary>
[DataField]
public float PotentiaFlatModifier = 0;
/// <summary>
/// When rolling for psionic powers, multiply the potentia gains by a specific factor.
/// </summary>
[DataField]
public float PotentiaMultiplier = 1;
}