Adds a new Timed Attack system involving circles that skrink and must be stopped at their smallest point. – SRD_TimedAttack_Circle.js

タイトル
Adds a new Timed Attack system involving circles that skrink and must be stopped at their smallest point.
作者名
ヘルプ

Timed Attack: Circle
Version 1.11
SumRndmDde


This Plugin requires the Timed Attack Core Plugin (SRD_TimedAttackCore)
http://sumrndm.site/timed-attack-core

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.atk4 - b.def2)($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 (Circle)
==========================================================================

Use the Notetag:

<Timed Attack: circle>
<End Timed Attack>

Setting those in a Skill's notebox will activate the "Timed Attack System"
for that Skill.

The part that says "circle" can be changed to have other types of "Timed
Attacks" be used.


==========================================================================
Circle Timed Attack Properties
==========================================================================

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

<Timed Attack: circle>
Speed: 15
Color: #00FFFF
Outline Color: black
<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 Circle Timed Attack:

Sound Effect: (Input filename of Sound Effect in /audio/se/)
Circle Image: (Input filename of for in /img/SumRndmDde/tas/)
Background Image: (Input filename of for in /img/SumRndmDde/tas/)
Repeat Type: (Input one of the following: None, Repeat, Reverse)
Speed: (Input a Positive Number or JavaScript Formula)
Color: (Input a JavaScript or HTML Color)
Initial Radius: (Input a Positive Number)
Ring Thickness: (Input a Positive Number)
Flash Rate: (Input a Positive Number)
Flash Time: (Input a Positive Number)

The JavaScript Formula can use 'f' to represent "Frame Count".
Leave blank to use default circle image


==========================================================================
End of Help File
==========================================================================

Welcome to the bottom of the Help file.


Thanks for reading!
If you have questions, or if you enjoyed this Plugin, please check
out my YouTube channel!

https://www.youtube.com/c/SumRndmDde


Until next time,
~ SumRndmDde
パラメータ
param == Default Props. ==
default

param Sound Effect
desc The default Sound Effect when one is not specified.
Input filename of Sound Effect in /audio/se/
default Sword2

param Circle Image
desc The default Circle Image when one is not specified.
Input filename of Circle Image in /img/SumRndmDde/tas/
default

param Background Image
desc The default Background Image when one is not specified.
Input filename of Background Image in /img/SumRndmDde/tas/
default

param Repeat Type
desc The default Repeat Type when one is not specified.
The choices are: None, Repeat, Reverse
default None

param Color
desc The default Color when one is not specified.
Input a JavaScript or HTML Color
default Red

param Speed
desc The default Speed when one is not specified.
Input a Positive Number or JavaScript Formula
default 5

param Initial Radius
desc The default Initial Radius when one is not specified.
Input a Positive Number
default 200

param Ring Thickness
desc The default Ring Thickness when one is not specified.
Input a Positive Number
default 8

param Flash Rate
desc The default Flash Rate when one is not specified.
Input a Positive Number
default 16

param Flash Time
desc The default Flash Time when one is not specified.
Input a Positive Number
default 40

param Time Limit
desc The maximum amount of time a "repeat" can last.
Input a Positive Number; input 0 to disallow.
default 0

ライセンス表記

紹介ページ https://github.com/SumRndmDde/RPG-Maker-MV-Plugins/blob/master/SRD_TimedAttack_Circle.js