* add EntityEffect aability support * delayed actions * renaming * delayed projectile spells * spawn on self + entityEffect on self spells * spawn on point spell * rename * clean up base species components * magic alert * move magic energy to Shared, add manacost to spells * magic recoil * improve magic recoil * verbal aspect * somatic aspect * add simple vfx proto and sprites * add casting VFX * add TODO
22 lines
533 B
C#
22 lines
533 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.5},
|
|
{"Heat", 0.5},
|
|
},
|
|
};
|
|
}
|