semi-idle-arpg/scripts/gear.gd

22 lines
286 B
GDScript

class_name Gear
extends "item.gd"
# 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