I'm assuming this isn't possible without scripting.
I want to make a skill that damages enemies, but if none of the hits land it rebounds against the user and user takes damage instead. I'm just not completely sure where to start on how to make a skill like that. I'm trying to teach myself a little bit of JavaScript, but it's going slow and I feel like something like this is a bit advanced for me. I'm sure that it requires if else statements? If attack hit true, enemy damage, else user damage? I'm just still very beginner with script.
I do have Yanfly's Battle Core Engine and Action Sequence plugins so while trying to work it out I came up with this:
I'm just not sure what would go in my square brackets to call the functions or parameters properly.
I want to make a skill that damages enemies, but if none of the hits land it rebounds against the user and user takes damage instead. I'm just not completely sure where to start on how to make a skill like that. I'm trying to teach myself a little bit of JavaScript, but it's going slow and I feel like something like this is a bit advanced for me. I'm sure that it requires if else statements? If attack hit true, enemy damage, else user damage? I'm just still very beginner with script.
I do have Yanfly's Battle Core Engine and Action Sequence plugins so while trying to work it out I came up with this:
I'm just not sure what would go in my square brackets to call the functions or parameters properly.