Files
MovementTests/forge/attribute_sets/PlayerAttributeSet.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

13 lines
294 B
C#

using Gamesmiths.Forge.Attributes;
namespace Movementtests.scenes.player_controller.scripts;
public class PlayerAttributeSet : AttributeSet
{
public EntityAttribute Mana { get; }
public PlayerAttributeSet()
{
Mana = InitializeAttribute(nameof(Mana), 100, 0, 100);
}
}