2024-09-19 19:03:06 -06:00
|
|
|
class_name Gear
|
2024-10-20 16:44:08 -06:00
|
|
|
extends Item
|
2024-09-19 19:03:06 -06:00
|
|
|
|
|
|
|
|
|
|
|
# the basic stats that occur on gear
|
2024-10-01 14:13:54 -06:00
|
|
|
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
|
|
|
|
|