Some battle settings

I'd like to know whether is there a way to do somethings:

1- Suppose I have a magic skill that hits 3 random enemies. In normal configuration, if i have just one enemy to defeat, this skill will hit 3 times on this enemy. I'd like this skill only hit once if there is one enemy, twice if there is two enemies and 3 times for 3 enemies or more. In other words, this skill shouldn't hit the same enemy more than once.

2- Suppose I have a skill that has a animation and hits more than one enemy. For each enemy there will be an animation. I'd like to know if is there a way to hit more than one enemy and showing just one animation.

EXTRA- I'd like to know if is there a way, for skills that hits more than one enemy, to choose which enemies this skill is gonna hit.

Thanks!
Hey Jjppof

The first issue will most likely require a script. There are a few target manager scripts out there that may serve your purposes. Without scripting it would be a bit daunting to write in through events as you are basically asking for random to reassess the definition of what a valid target is after each attack.

For the second issue. In the animation tab, you can select if the animation will occur on each individal enemy or on the center of the whole battle screen. If you set it to the screen instead of one battler, it will only display once in the center of the screen instead of on each individual battler.

For the extra issue, it would also require a target manager that has area effects. Usually these are written more along the lines of attack a battler and those battler directly next to it.

Hope that helps!

~ Dinhbat
Thank you, already helped a lot!
Check Yanfly's wordpress... I'm sure you can find a solution for 2 and extra there... as for 1 I'm not sure if there's already a script for that, but I used to edit the targeting method before to do that...
I will check there. thank you

Original thread: https://forums.rpgmakerweb.com/threads/some-battle-settings.25376/