* replace heat trigger to unsafe damage trigger * end demiplane music * timed demiplane modifier * unhardcode some values * demiplane crystal destruction waves * time limit * fixes * Update CP14UniqueLootSystem.cs * Update unstable_rift.yml * tweks * Update unstable_rift.yml
25 lines
621 B
C#
25 lines
621 B
C#
using Content.Shared.Damage;
|
|
using Content.Shared.FixedPoint;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared._CP14.MagicWeakness;
|
|
|
|
/// <summary>
|
|
/// imposes damage on excessive use of magic
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
[Access(typeof(CP14SharedMagicWeaknessSystem))]
|
|
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},
|
|
},
|
|
};
|
|
}
|