Implement enemy pathfinding restrictions in starting room; rectify collision rectangle checks for props; create new trap and weapon files.

This commit is contained in:
2026-03-29 13:42:59 +00:00
parent 5d16a15a41
commit 5f3b6b8e29
11 changed files with 26 additions and 3 deletions
View File
+16
View File
@@ -0,0 +1,16 @@
class LorentzField < Weapon
def initialize
super(
name: "Lorentz Field",
description: "A defensive weapon that creates a time distortion field around the user. While active, the field slows down incoming projectiles and enemies, giving the user a chance to react and evade. The field lasts for a short duration and has a cooldown period before it can be used again.",
image_path: "assets/images/lorentz_field.png",
cooldown: 5.0,
damage: 0,
range: 0,
area_of_effect: 0
)
end
def activate(user)
end
end
View File
View File