Nerdboy

Regular
Regular
Joined
Jan 4, 2017
Messages
82
Reaction score
9
Primarily Uses
So i'm looking to mod a core mv js Auto Battle script if i can locate something in MV in one of the js files, but doing find for Fight and Auto led me no where, fight returns nothing related to auto and auto gives me other things not related to fight.

What i'm trying to do is, allow Auto Battle to select randomly a Skill or Normal Attack, and not just auto battle with normal attack which i believe is default, although for some reason sometimes the magic works, but its not working atm for me. IDK why? Turned off all plugs and still not working.

So i need to mod a core js file if you know what function to find in them. Auto Fight returns zero.

Thank you.

I also tried battle and auto battle nothing in files.
 

Poryg

Dark Lord of the Castle of Javascreeps
Regular
Joined
Mar 23, 2017
Messages
4,235
Reaction score
11,376
First Language
Czech
Primarily Uses
RMMV
Interestingly, I can't find them either. The only thing I've been able to find is Game_Enemy.prototype.selectAction, but that is not applied to friendlies I guess.
 

Shaz

Keeper of the Nuts
Global Mod
Joined
Mar 2, 2012
Messages
46,153
Reaction score
16,971
First Language
English
Primarily Uses
RMMV
Things that are in list/drop-down boxes are usually referred to as numbers in the game. This is probably why you couldn't find them if you were searching for strings.

I would advise against modifying core files. Copy the functions you want to change and put them into a plugin and make the changes there. That makes it easier to take MV updates when they're available, update your project's core files, and not have to go back and redo your changes.
 

Latest Threads

Latest Posts

Latest Profile Posts

A sad day for me. A monitor that served me loyally for more than 5 years is getting replaced. It's begun to throw very large sparks.
skill.gif
experimenting with outlines in GIMP. found out it's EXTREMELY easy to do actually.
I have locked myself away into my Reaper dungeon. I assume this is all you'll need until I get back.

1701973777966.jpeg1701973812025.jpeg

Forum statistics

Threads
136,813
Messages
1,270,332
Members
180,575
Latest member
SredniVashtar
Top