semi-idle-arpg/scripts/ItemGear.gd
2024-10-20 16:44:08 -06:00

22 lines
281 B
GDScript

class_name Gear
extends Item
# the basic stats that occur on gear
enum STATLIST {
STR, DEX, INT,
CON, RES, SPD,
MOD, CRD, CRC
}
var statValues = {}
var slot: int = 0
var skill: int = 0
func _init():
for stat in STATLIST:
statValues[stat] = 0