Tuesday, 19 August 2025 01:37:27

This commit is contained in:
2025-08-19 01:37:30 -04:00
parent a47a6331ee
commit dfbad40739
30 changed files with 333 additions and 80 deletions

20
Gameplay/Effects/Spiky.cs Normal file
View File

@@ -0,0 +1,20 @@
using Godot;
using System;
public partial class Spiky : Effect
{
public Spiky(Node2D OWNER) : base(OWNER)
{
_trigger.Add(Trigger.Collision);
}
public override void TriggerEffect(Node TARGET = null)
{
if (TARGET is Worker)
{
Worker target = (Worker)TARGET;
target._rotationalForce += 10;
target.ChangeHealth(-1, _owner);
}
}
}