Traveller/scripts/spell/TrackingSpell.cs
2024-12-06 10:23:54 +08:00

13 lines
354 B
C#

using ColdMint.scripts.projectile;
using Godot;
namespace ColdMint.scripts.spell;
public partial class TrackingSpell : SpellPickAble
{
public override void ModifyProjectile(int index, Projectile projectile, ref Vector2 velocity)
{
base.ModifyProjectile(index, projectile, ref velocity);
projectile.EnableTracking = true;
}
}