mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 21:48:58 +03:00
# 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>  </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>
21 lines
613 B
C#
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;
|
|
}
|