Question about Auto Battle

Hello!

I have a question about the Auto Battle option which is available for Classes as seen below:

131617-4fda25d744b8425c6b4931795c95f502.jpg


How exactly does it work? I want to make combat system where there is no manual input from the player.

1. Is there a way to make auto-battle work on a general map where player collides with an enemy (event) without a transfer to another scene where turn-based combat takes place? So basically player and enemy fight right on the map rather than on battle screen?

2. If above is not possible, is there a way to have auto battle with no manual input from the player? Where player cannot use any spells etc. and the fight takes place automatically?

Thank you for help!
Have you taken a minute and just tried it? 😉

1. Is there a way to make auto-battle work on a general map where player collides with an enemy (event) without a transfer to another scene where turn-based combat takes place? So basically player and enemy fight right on the map rather than on battle screen?
Of course. You can use event commands to make the player and event move back and forth a few times, show an animation or something, and do some math with variables to lose health and gain experience.

It wouldn't have anything to do with any traits on the character.

2. If above is not possible, is there a way to have auto battle with no manual input from the player? Where player cannot use any spells etc. and the fight takes place automatically?
That's exactly what the trait does. All you need to do is put the trait on and fire up a battle test (or read it in the MZ instructions, etc.).
A few more infos might help you:

Autobattles flag only works inside battle, if you want something on the map you cannot use the autobattles flag.

No trait is limited to classes. You can place that trait anywhere (actor, class or equipment) and it will count as such - for example a cursed equipment or whatever.

With autobattles active, the engine checks which skill does the most damage before executing that. That means that autobattle ignores healing skills or anything else that does not do direct damage.
This check also messes with damage coding in the case you're using that.
If you don't use the damage formula for anything other than damage you can ignore this.

Original thread: https://forums.rpgmakerweb.com/threads/question-about-auto-battle.173183/