23 lines
325 B
GDScript
23 lines
325 B
GDScript
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
|
|
|