level changing, autoloads, coins, player damage, characterstats
This commit is contained in:
1 parent
aa59f58e74
commit
31d586b386
21 files changed
+1061
-84
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://bhxl0nmjr16wm"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/res/characterStats.gd" id="1_dc0h5"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_dc0h5")
|
||||
max_health = 110
|
||||
starting_health = 110
|
||||
health = 110
|
||||
meleeDamage = 15
|
||||
rangeDamage = 6
|
||||
@@ -0,0 +1,11 @@
|
||||
[gd_resource type="Resource" script_class="CharacterStats" load_steps=2 format=3 uid="uid://bmwctbkvbp0en"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/res/characterStats.gd" id="1_ev6pb"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ev6pb")
|
||||
max_health = 50
|
||||
starting_health = 50
|
||||
health = 50
|
||||
meleeDamage = 30
|
||||
rangeDamage = 0
|
||||
Reference in new issue
Block a user