Tiefling gameplay (#703)
* tiefling damage mana * tiefling spell * tweaks
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using Content.Shared.Damage.Prototypes;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared._CP14.MagicEnergy.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Restores or expends magical energy when taking damage of certain types.
|
||||
/// </summary>
|
||||
[RegisterComponent, Access(typeof(SharedCP14MagicEnergySystem))]
|
||||
public sealed partial class CP14MagicEnergyFromDamageComponent : Component
|
||||
{
|
||||
[DataField]
|
||||
public Dictionary<ProtoId<DamageTypePrototype>, float> Damage = new();
|
||||
}
|
||||
@@ -14,8 +14,9 @@ public sealed partial class CP14MagicUnsafeDamageComponent : Component
|
||||
{
|
||||
DamageDict = new Dictionary<string, FixedPoint2>
|
||||
{
|
||||
{"Blunt", 0.5},
|
||||
{"Heat", 0.5},
|
||||
{"Blunt", 0.3},
|
||||
{"Poison", 0.4},
|
||||
{"Heat", 0.3},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user