Files
MovementTests/forge/attribute_sets/MetaAttributeSet.cs
Minimata 99f383be00
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 30s
Create tag and build when new code gets to main / Export (push) Successful in 6m8s
Damage dealing through meta attribute and custom exec
2026-05-03 10:47:56 +02:00

12 lines
326 B
C#

using Gamesmiths.Forge.Attributes;
namespace Movementtests.scenes.enemies;
public class MetaAttributeSet : AttributeSet
{
public EntityAttribute IncomingDamage { get; private set; }
public MetaAttributeSet()
{
IncomingDamage = InitializeAttribute(nameof(IncomingDamage), 0, 0, 1000, channels: 4);
}
}