Timed Attack: Mash – MV Plugin

      1 Comment on Timed Attack: Mash – MV Plugin

Requires Timed Attack Core

Adds a new Timed Attack system that requires the Player to mash a button to get a gauge to a certain point.


Look at the code or download the Plugin:


Timed Attack: Mash
Version 1.00
SumRndmDde

This Plugin requires the Timed Attack Core Plugin (SRD_TimedAttackCore)

Timed Attack Core – MV Plugin

This is a Timed Attack based off of the system in Pokemon GO and a
couple other games.

The way it works is a circle around the Enemy appears, and it begins to
shrink. The Player must press the “OK” button before the circle
completely disappears. The smaller the circle, the more power the Skill
will have.

========================================================================
How to Customize Skill’s Damage/Effect from Timed Attack
========================================================================

Use $gameTemp.tas_power to have the power affect the skill.
This value will be a value from 0 to 1 depending on how close the
“Timed Attack” was to being perfect.

For example:
(a.atk * 4 – b.def * 2) * ($gameTemp.tas_power)

In that example, getting a perfect hit in the “Timed Attack” would result
in full damage, and getting any besides perfect would give only a percent
of the full damage.

========================================================================
How to Set a Skill to Use a Timed Attack (Mash)
========================================================================

Use the Notetag:

<Timed Attack: mash>
<End Timed Attack>

Setting those in a Skill’s notebox will activate the “Timed Attack System”
for that Skill.

The part that says “mash” can be changed to have other types of “Timed
Attacks” be used.

========================================================================
Mash Timed Attack Properties
========================================================================

You can manipulate the properties of each Timed Attack by adding them
in the Notetags. For example:

<Timed Attack: mash>
Max Amount: 1000
Start Amount: 400
Tap Gain: 75
Width: 400
<End Timed Attack>

As you can see, there are a couple of factors you can use to even make one
individual Timed Attack different for each Skill it is used with.

Here are all the properties for Mash Timed Attack:

Normal SE: (Input filename of Sound Effect in /audio/se/)
Success SE: (Input filename of Sound Effect in /audio/se/)
Fail SE: (Input filename of Sound Effect in /audio/se/)
Smooth Mode: (Input either ‘true’ or ‘false’)
Start Amount: (Input a Positive Number or JavaScript eval)
Max Amount: (Input a Positive Number or JavaScript eval)
Seconds: (Input a Positive Number)
Speed: (Input a Positive Number or JavaScript Formula)*
Tap Gain: (Input a Positive Number or JavaScript Formula)*
Width: (Input a Positive Number)
Height: (Input a Positive Number)
Above Height: (Input a Positive Number)
Color 1: (Input a JavaScript or HTML Color)
Color 2: (Input a JavaScript or HTML Color)
Flash Rate: (Input a Positive Number)
Flash Time: (Input a Positive Number)

*The JavaScript Formula can use ‘f’ to represent “Frame Count”.


Screenshot:

image

1 thought on “Timed Attack: Mash – MV Plugin

Leave a Reply to Anonymous Cancel reply

Your email address will not be published. Required fields are marked *