semi-idle-arpg/scripts/gear.gd

23 lines
325 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
const STATLIST = [
"str", "dex", "int",
"con", "res", "spd",
"dot", "crd", "crc"
]
var statValues = {}
var tier: int = 0
var slot: int = 0
var skill: int = 0
func _init():
for stat in STATLIST:
statValues[stat] = 0