Hi there, I do have another problem.
I split the damage of a weapon from skills like this: a.atk - $gameActors.actor(1).weapons()[0].params[2]. So all what's left is the base damage - the damage of the weapon.
Unfortunelately there is a problem when a weapon isn't equiped, then I will get an error because the equiped weapons is "null" What I need is to define a value for an empty weapon slot. (I assume it needs to be 0)
I searched in the json files but I have no idea where too look.
I split the damage of a weapon from skills like this: a.atk - $gameActors.actor(1).weapons()[0].params[2]. So all what's left is the base damage - the damage of the weapon.
Unfortunelately there is a problem when a weapon isn't equiped, then I will get an error because the equiped weapons is "null" What I need is to define a value for an empty weapon slot. (I assume it needs to be 0)
I searched in the json files but I have no idea where too look.