Wednesday, 10 September 2025 01:31:36

This commit is contained in:
2025-09-10 01:31:39 -04:00
parent ac25e55bf3
commit 23700e2bcf
33 changed files with 411 additions and 374 deletions

View File

@@ -0,0 +1,26 @@
using Godot;
using System;
using System.Collections.Generic;
public partial class BasicAttack : Trait
{
public BasicAttack(Worker OWNER) : base(OWNER)
{
_triggers.Add(Trigger.On.Collision);
}
public override void Fire()
{
if (_target != null)
{
if (_target._manager != _owner._manager)
{
int damage = -_owner._aptitude._default / 2;
// target.ChangeHealth(damage, owner);
}
}
_target = null;
}
}