I've made an item that's designed to have a different effect depending on who the item targets (it can only be used in the Menu screen, so the User of the item is always the Player, that's why it needs to get the target's ID and not the user's ID). It also can only be used on characters that aren't the player (Actor 1).
First, is there a script (or plugin) that allows me to store the ActorID of the item's target to Variable 15?
I've tried $gameVariables.setValue(15, b.actorId());
in the damage formula box, but it brings up an error saying "Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float parameter 3 is non-finite", which I'm pretty sure means "your damage formula is broken".
First, is there a script (or plugin) that allows me to store the ActorID of the item's target to Variable 15?
I've tried $gameVariables.setValue(15, b.actorId());
in the damage formula box, but it brings up an error saying "Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float parameter 3 is non-finite", which I'm pretty sure means "your damage formula is broken".