Nerdboy

Veteran
Veteran
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
Veteran
Joined
Mar 23, 2017
Messages
4,215
Reaction score
11,003
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

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
45,085
Reaction score
16,102
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 Profile Posts

1675350575605.png
If i had to make a game cover, this would probaby be it :kaoslp:
Useless trivia time:
Today I found out that the masks of comedy and tragedy common to classical theatre are named Thalia and Melpomene (respectively)
the_more_you_know_nbc-1670292848.gif
aliceFranklin.png

I have no idea why I made a character for a story I'm not even working on yet... I've been told she wants to be build a snow man. :kaoswt:

Anyway,

...continuing work on that game in the hopes of needing her one day. :LZSwink:
Yesterday brought some interesting weather. As I was about to get off the bus, rain turned into an ice storm and then as I entered my workplace, changed to heavy snow.
I don't remember when it was the last time it rained ice.
Shaz wrote on Zeriab's profile.
You're stealing my thunder!

1675319487521.png

Forum statistics

Threads
128,428
Messages
1,194,499
Members
168,976
Latest member
velocino007
Top