level changing, autoloads, player damage, characterstics
This commit is contained in:
1 parent
bc121adb01
commit
9ceb59f89f
21 files changed
+1083
-95
No files matched your search
@@ -0,0 +1,8 @@
|
||||
class_name CharacterStats extends Resource
|
||||
|
||||
@export var max_health:int = 100
|
||||
@export var starting_health:int = 100
|
||||
@export var health:int = 100
|
||||
|
||||
@export var meleeDamage:int = 10
|
||||
@export var rangeDamage:int = 8
|
||||
@@ -0,0 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://dho7d11hshiq5"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/res/characterStats.gd" id="1_kp6r2"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_kp6r2")
|
||||
max_health = 100
|
||||
starting_health = 100
|
||||
health = 100
|
||||
meleeDamage = 10
|
||||
rangeDamage = 8
|
||||
@@ -0,0 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://c1w83maxwn2nd"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/res/characterStats.gd" id="1_agwwm"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_agwwm")
|
||||
max_health = 50
|
||||
starting_health = 50
|
||||
health = 50
|
||||
meleeDamage = 30
|
||||
rangeDamage = 0
|
||||
Reference in new issue
Block a user