minor change for testing, still a bunch to do. someh=thing that popped up, should hostile and friendly pegs go at the same time or staggered

This commit is contained in:
2026-07-02 03:51:22 -04:00
parent cbdca6f3cb
commit 0231c9d136
4 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ public partial class SwingShortsword : PegAction
Tween subtween = CreateTween();
subtween.TweenProperty(_image, "visible", true, 0.0f);
subtween.TweenProperty(_image, "rotation", PEG.GetAngleTo(target), 0.0f);
subtween.TweenProperty(_image, "position", target, 0.5f);
subtween.TweenProperty(_image, "global_position", target, 0.5f);
subtween.TweenCallback(Callable.From(() =>
{
PEG._pegController._playerController.ChangeHealth(-2, this);