Customising Yanfly's ATB plugin

Kryllick

Game Designer
Member
Joined
Jan 17, 2015
Messages
5
Reaction score
0
First Language
Ebglish
Primarily Uses
RMMV
Hi,


I was going through setting up my preferred battle system; ATB, using the universally accepted method of bowing to the might and wonder of Yanfly scripting; http://yanfly.moe/2015/11/06/yep-24-battle-system-active-turn-battle/ when I came across a lack of knowledge on my part.


In Yanfly's plugin; YEP_BattleSysATB; there is an option to make the charge speed of an attack set to whatever.


Reads as follows:


Charge Gauge:


Math.max(2000, BattleManager.highestBaseAgi() * 20)


The wind-up time after selecting an action. This formula is calculated as an eval.


I would like to make an addition to this to make it something like: BaseAgi + CurrentTP; for each character/monster.


This also links to my other desired customisation of this plugin:


Initial Speed:


0


The speed position of the battler at the start of the battle. This formula is calculated as an eval.


I would like to make this one similar with a randomised difference such as:


BaseAgi + RandomValue: 0~CharacterCurrentLevel


I have no idea if this one is possible; but I imagine this community will be able to assist in curtailing my noobisms on java


Thanks for your consideration and/or assistance!
 
Last edited by a moderator:

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,528
Reaction score
14,261
First Language
English
Primarily Uses
RMVXA
I've moved this thread to Javascript/Plug-in Support. Please be sure to post your threads in the correct forum next time. Thank you.



Also please post a link to the plug-in in question. That way we can see for ourselves the plug-in in question.


And one more suggestion. You mentioned using a plug-in in the post, but your profile says you use ACE. May wish to clarify which engine  you are referring to in the future, else it will get confusing.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

On my journey of character rework: I had this character, she was meant to be just a princess that joins your party. And at long term she was just uninteresting... So I tweaked her to be a rebel agaisn't the royalty before meeting up with the party.

Quick tip for any other ametuer pixel artists! When trying to create a colour palette, enabling Antialiasing can speed up the process of creating different shades! Just place your lightest colour and your darkest colour next to each other, select both pixels, and stretch it out!
Revolutionizing the JRPG Industry: Knocking on Doors.

Take that, murderhobos.
Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.

Forum statistics

Threads
106,054
Messages
1,018,578
Members
137,843
Latest member
Betwixt000
Top