22 lines
281 B
GDScript
22 lines
281 B
GDScript
class_name Gear
|
|
extends Item
|
|
|
|
|
|
# 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
|
|
|