first Prototype

This commit is contained in:
Exobyt 2025-08-28 01:55:38 +02:00
parent e11825c698
commit 35ce267482
481 changed files with 17315 additions and 1 deletions

View file

@ -0,0 +1,12 @@
class_name LuckyBullet extends Bullet
var minDamage: int = 0
var maxDamage: int = 2
func _init() -> void:
type = GLOBALS.ITEMTYPES.LUCKYBULLET
func getDamage() -> int:
randomize()
var rng = RandomNumberGenerator.new()
return rng.randi_range(minDamage, maxDamage)