semi-idle-arpg/scripts/gear.gd

22 lines
286 B
GDScript3
Raw Normal View History

2024-09-19 19:03:06 -06:00
class_name Gear
extends "item.gd"
# the basic stats that occur on gear
enum STATLIST {
STR, DEX, INT,
CON, RES, SPD,
MOD, CRD, CRC
}
2024-09-19 19:03:06 -06:00
var statValues = {}
var slot: int = 0
var skill: int = 0
func _init():
for stat in STATLIST:
statValues[stat] = 0