I'm trying to get this thing to work, basically depending on if you have weapon you'd get another state and another state if something else.
if (DataManager.isWeapon(item)) {
var index = user.index();
action.AddState(79(index));
} else {
action.AddState(62(index));
}
Still the user has reference error, what am I doing wrong?
http://yanfly.moe/2016/04/15/yep-92-attachable-augments-rpg-maker-mv/
if (DataManager.isWeapon(item)) {
var index = user.index();
action.AddState(79(index));
} else {
action.AddState(62(index));
}
Still the user has reference error, what am I doing wrong?
http://yanfly.moe/2016/04/15/yep-92-attachable-augments-rpg-maker-mv/
