Battle Auto Selection

I just tried it in a brand new project and had the same problem. Maybe I don't have the newest version, I will double check.

EDIT: Double checked by redownloading the plugin and still having the same issue in a fresh project.

EDIT: Figured it out.

Line 49 was:

    if (action.isForUser() || (action.isForFriend && action.isForAll)) {and it should be

   if (action.isForUser() || (action.isForFriend() && action.isForAll())) {The parenthesis after action.isForFriend and action.isForAll was missing.

Now it's working perfectly, thanks for an awesome plugin!
OMG This is what happens when you're too accustomed to Ruby. @.@

Thanks.
OMG This is what happens when you're too accustomed to Ruby. @.@

Thanks.
Haha no worries at all. The other day I was beating my head against a wall with an attack formula for hours because of a capitalized "P" that should have been lowercase. Gotta love code lol.
Thank you for this.

always bugged me when it makes you still chose a selection for skills that only target the user.

*downloaded*
Thank you, looking for a long time
Hi Lecode


I have an issue with something happening in battle. I am using VE's toggle target. 
The issue I am having is that depending on plugin order, I'm getting unique bugs/errors.


This seems to be a compatibility issue with the LeAutoBattleSelect plugin. 


When I put VE's Toggle Target plugin before LeAutoBattleSelect, there are no errors. Except for a little bug when switching between allies/enemies when target ALL is set before switching to allies/enemies. It will auto execute. 

However, when I put it after LeAutoBattleSelect. Toggling between scopes and targets works just fine. But when I am on the last enemy I get this crash. 


View attachment 33009

Thank you!
Sorry for bumping but does anyone have a copy of the script? I can't download it from Lecode's Google Drive, it asks for permission

nvm I found it elsewhere

edit 2: nope the version I found crashes as soon as I click "attack" :/

Original thread: https://forums.rpgmakerweb.com/threads/battle-auto-selection.47636/