Files
crystall-punk-14/Content.Shared/_CP14/MagicWeakness/CP14MagicUnsafeDamageComponent.cs
Ed 8892d3913d Tiefling gameplay (#703)
* tiefling damage mana

* tiefling spell

* tweaks
2025-01-06 17:08:49 +03:00

23 lines
562 B
C#

using Content.Shared.Damage;
using Content.Shared.FixedPoint;
namespace Content.Shared._CP14.MagicWeakness;
/// <summary>
/// imposes damage on excessive use of magic
/// </summary>
[RegisterComponent, Access(typeof(CP14MagicWeaknessSystem))]
public sealed partial class CP14MagicUnsafeDamageComponent : Component
{
[DataField]
public DamageSpecifier DamagePerEnergy = new()
{
DamageDict = new Dictionary<string, FixedPoint2>
{
{"Blunt", 0.3},
{"Poison", 0.4},
{"Heat", 0.3},
},
};
}