refactor
This commit is contained in:
8
resources/stats/base_stats.gd
Normal file
8
resources/stats/base_stats.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
class_name BaseStats
|
||||
extends Resource
|
||||
|
||||
@export var max_health: float = 100.0
|
||||
@export var health_regen: float = 0.0
|
||||
@export var max_shield: float = 0.0
|
||||
@export var shield_regen: float = 0.0
|
||||
@export var shield_regen_delay: float = 5.0
|
||||
1
resources/stats/base_stats.gd.uid
Normal file
1
resources/stats/base_stats.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://rotp80banlee
|
||||
4
resources/stats/boss_stats.gd
Normal file
4
resources/stats/boss_stats.gd
Normal file
@@ -0,0 +1,4 @@
|
||||
class_name BossStats
|
||||
extends EnemyStats
|
||||
|
||||
@export var enrage_time: float = 60.0
|
||||
1
resources/stats/boss_stats.gd.uid
Normal file
1
resources/stats/boss_stats.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cdyoffdfaor5m
|
||||
2
resources/stats/building_stats.gd
Normal file
2
resources/stats/building_stats.gd
Normal file
@@ -0,0 +1,2 @@
|
||||
class_name BuildingStats
|
||||
extends BaseStats
|
||||
1
resources/stats/building_stats.gd.uid
Normal file
1
resources/stats/building_stats.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://le02tb117uh
|
||||
11
resources/stats/enemy_stats.gd
Normal file
11
resources/stats/enemy_stats.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
class_name EnemyStats
|
||||
extends BaseStats
|
||||
|
||||
@export var speed: float = 3.0
|
||||
@export var attack_range: float = 2.0
|
||||
@export var attack_damage: float = 5.0
|
||||
@export var attack_cooldown: float = 1.5
|
||||
@export var aggro_radius: float = 12.0
|
||||
@export var leash_radius: float = 25.0
|
||||
@export var xp_value: float = 5.0
|
||||
@export var loot_chance: float = 1.0
|
||||
1
resources/stats/enemy_stats.gd.uid
Normal file
1
resources/stats/enemy_stats.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bch6113rtsk05
|
||||
7
resources/stats/gate_stats.gd
Normal file
7
resources/stats/gate_stats.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
class_name GateStats
|
||||
extends BaseStats
|
||||
|
||||
@export var spawn_count: int = 5
|
||||
@export var spawn_interval: float = 4.0
|
||||
@export var aggro_radius: float = 15.0
|
||||
@export var is_red: bool = false
|
||||
1
resources/stats/gate_stats.gd.uid
Normal file
1
resources/stats/gate_stats.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cyroet7ce02ew
|
||||
18
resources/stats/player_stats.gd
Normal file
18
resources/stats/player_stats.gd
Normal file
@@ -0,0 +1,18 @@
|
||||
class_name PlayerStats
|
||||
extends BaseStats
|
||||
|
||||
@export var speed: float = 5.0
|
||||
@export var jump_velocity: float = 4.5
|
||||
@export var target_range: float = 20.0
|
||||
@export var combat_timeout: float = 5.0
|
||||
@export var respawn_time: float = 3.0
|
||||
@export var gcd_time: float = 0.5
|
||||
@export var aa_cooldown: float = 0.5
|
||||
|
||||
@export var level: int = 1
|
||||
@export var xp: float = 0.0
|
||||
@export var xp_to_next: float = 50.0
|
||||
|
||||
@export var buff_damage: float = 1.0
|
||||
@export var buff_heal: float = 1.0
|
||||
@export var buff_shield: float = 1.0
|
||||
1
resources/stats/player_stats.gd.uid
Normal file
1
resources/stats/player_stats.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://c42fif5nbdvur
|
||||
5
resources/stats/portal_stats.gd
Normal file
5
resources/stats/portal_stats.gd
Normal file
@@ -0,0 +1,5 @@
|
||||
class_name PortalStats
|
||||
extends BaseStats
|
||||
|
||||
@export var lifetime: float = 0.0
|
||||
@export var is_red: bool = false
|
||||
1
resources/stats/portal_stats.gd.uid
Normal file
1
resources/stats/portal_stats.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://beg4u508o3lcv
|
||||
2
resources/stats/village_stats.gd
Normal file
2
resources/stats/village_stats.gd
Normal file
@@ -0,0 +1,2 @@
|
||||
class_name VillageStats
|
||||
extends BaseStats
|
||||
1
resources/stats/village_stats.gd.uid
Normal file
1
resources/stats/village_stats.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dpyr5lcc45eub
|
||||
Reference in New Issue
Block a user