This commit is contained in:
Marek Lenczewski
2026-04-02 16:02:24 +02:00
parent e76c66eda6
commit 47f4fe3d90
106 changed files with 434 additions and 204 deletions

View File

@@ -0,0 +1,8 @@
extends Resource
class_name BaseStats
@export var max_health := 100.0
@export var health_regen := 0.0
@export var max_shield := 0.0
@export var shield_regen_delay := 3.0
@export var shield_regen_time := 5.0

View File

@@ -0,0 +1 @@
uid://cet184f878lb8

View File

@@ -0,0 +1,2 @@
extends EnemyStats
class_name BossStats

View File

@@ -0,0 +1 @@
uid://bio01w2gd5e7q

View File

@@ -1,6 +1,6 @@
[gd_resource type="Resource" script_class="BossStats" load_steps=2 format=3]
[ext_resource type="Script" path="res://scripts/resources/boss_stats.gd" id="1"]
[ext_resource type="Script" path="res://resources/stats/boss_stats.gd" id="1"]
[resource]
script = ExtResource("1")

View File

@@ -0,0 +1,12 @@
extends BaseStats
class_name EnemyStats
@export var speed := 3.0
@export var attack_range := 2.0
@export var attack_cooldown := 1.5
@export var attack_damage := 5.0
@export var regen_fast := 0.10
@export var regen_slow := 0.01
@export var aggro_decay := 1.0
@export var portal_radius := 10.0
@export var alert_radius := 3.0

View File

@@ -0,0 +1 @@
uid://bh2uuuvl30y0x

View File

@@ -1,6 +1,6 @@
[gd_resource type="Resource" script_class="EnemyStats" format=3 uid="uid://cj1shmjwf0xeo"]
[ext_resource type="Script" uid="uid://bh2uuuvl30y0x" path="res://scripts/resources/enemy_stats.gd" id="1"]
[ext_resource type="Script" uid="uid://bh2uuuvl30y0x" path="res://resources/stats/enemy_stats.gd" id="1"]
[resource]
script = ExtResource("1")

View File

@@ -0,0 +1,10 @@
extends BaseStats
class_name PlayerStats
@export var speed := 5.0
@export var jump_velocity := 4.5
@export var target_range := 20.0
@export var combat_timeout := 3.0
@export var respawn_time := 3.0
@export var gcd_time := 0.5
@export var aa_cooldown := 0.5

View File

@@ -0,0 +1 @@
uid://ypyntbavbsto

View File

@@ -1,6 +1,6 @@
[gd_resource type="Resource" script_class="PlayerStats" format=3 uid="uid://btd0g0oiulssq"]
[ext_resource type="Script" uid="uid://ypyntbavbsto" path="res://scripts/resources/player_stats.gd" id="1"]
[ext_resource type="Script" uid="uid://ypyntbavbsto" path="res://resources/stats/player_stats.gd" id="1"]
[resource]
script = ExtResource("1")

View File

@@ -0,0 +1,5 @@
extends BaseStats
class_name PortalStats
@export var spawn_count := 3
@export var thresholds: Array[float] = [0.85, 0.70, 0.55, 0.40, 0.25, 0.10]

View File

@@ -0,0 +1 @@
uid://bioid3s5oftxs

View File

@@ -1,6 +1,6 @@
[gd_resource type="Resource" script_class="PortalStats" format=3 uid="uid://be2vv5u0jw0yw"]
[ext_resource type="Script" uid="uid://bioid3s5oftxs" path="res://scripts/resources/portal_stats.gd" id="1"]
[ext_resource type="Script" uid="uid://bioid3s5oftxs" path="res://resources/stats/portal_stats.gd" id="1"]
[resource]
script = ExtResource("1")