class_name Global static var next_dmg_id : int = 0 : get: next_dmg_id += 1 return next_dmg_id static func vec_mod(vec : Vector2, modulus : float): return Vector2(fposmod(vec.x, modulus), fposmod(vec.y, modulus))