Jump to content
TheHungryBrit

How to change ATB gauge charge rates based off 'attack speed' attributes on classes, weapons and monsters

Recommended Posts

Hey guys,

 

I'm using the VisuStella BattleSystemATB plugin in conjunction with their base BattleCore/CoreEngine plugins. So far - it's working great!

 

However, a big part of my game is to do with balancing weapons. I want some weapons (eg: bombs) to have super high ATK stats but, as a result, nerf the holders attack speed within battles. From what I have seen in the configuration for the BattleSystemATB or BattleCore plugins, there is no way for me to get the plugin to reference the 'Attack Speed' attribute that I have coded on the weapon to directly impact how quickly the ATB gauge fills. Maybe there's another way to achieve what I'm after, but I haven't figured it out yet.

 

Ideally, in a perfect world, my ATB gauges would be purely controlled by these arbitrary numbers that I have defined across the board on Classes, Monsters and Weapons. They would be calculated in seconds. Example: Soldier has an attack rate (AR) of 5 (seconds) defined by the 'attack speed' attribute on the class setup screen. His weapon, if a Sword, is set at 6 so should add 6% to that value, meaning 5.3 seconds in total for his ATB gauge to fill. If he were to equip a knife, a much more agile weapon, it would decrease the AR by, say, 26%, making his total attack time 3.7 seconds. That way, different weapons types no longer affect damage, but active battle gameplay to, to suit the various needs/playstyles of the player themselves.

 

This would allow for complete control of ATB gauges by weapon and class. By extension, monsters would also have their own default attack rate which is easily definable using the 'attack speed' attribute, and would attack relatively to the ARs of the player (it's my understanding that the VisuStella can calculate the speed of all players on the field given certain attributes, we would just be changing what attributes they reference when calculating this).

 

If anyone thinks they can help - I would be greatly appreciative. Unfortunately my JS knowledge is very little, I have been struggling with trying to tweak the existing scripts to try and achieve what I'm after.

 

Cheers

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted