Lightning call for Godot 4

Drop this folder into your project and instance lightning_call.tscn (an AnimatedSprite2D):

  var fx = preload("res://<folder>/lightning_call/lightning_call.tscn").instantiate()
  add_child(fx); fx.global_position = hit_point; fx.facing = -1  # mirror
  fx.beat.connect(func(i): apply_damage())  # impact frames: 23, 31, 38, 75

The node position is the effect's pivot (42, 231 in the 290x266 frame). It plays once and frees itself; loops keep playing.
