Version 1.3 (8/13/2012)
This script allows you to define real-time cooldowns for skills, limiting the frequency of skill usage based on the Playtime clock.
Inspiration for creating this script comes from Breath of Fire 3’s “Bonebreak” (テラブレイク) and “Celerity” skills which were known for their 3-hour long cooldown timers.
This script only affects Actor’s skills. This has no effect on Enemies.
- Compatibility: “XAS VX Ace” support added.
- reset_realtime_cooldowns script call removed.
- New script call: reset_realtime_cooldown
- New script call: activate_realtime_cooldown
- New script call: clear_all_realtime_cooldowns
- New notetag added that modifies skill cooldown times.
- Efficiency update. (8/13/2012)
- Added proper $imported variable. (7/31/2012)
- Efficiency update. (7/30/2012)
- Initial release. (7/30/2012)
Note: Some tags are given shorter tags for typing convenience. You only need to use one <tag> from a given group for a notebox. Use common sense.
The following Notetag is for Skills only:
This tag defines the amount of real-life time the skill needs to cooldown after being used once. All hours, minutes, and seconds values must be defined even if any one of them is zero. The cooldown uses the Playtime clock to determine time elapsed.
The following Notetag is for Actors, Classes, Weapons, Armors, and States:
This tag will increase or decrease the cooldown time of a skill where id is a skill ID number from your database. This will only affect skills that already have a cooldown defined with the <realtime cooldown> tag. If the time has a + (plus) sign, it will increase the time of the skill’s cooldown. If the time has a – (minus) sign, it will decrease the time of the skill’s cooldown. This tag will stack if multiple tags are found for the same skill. This tag can be used multiple times within the same Notebox for different skill IDs.
Here is an example of a <realtime cooldown> tag:
A skill with this tag will have a 2 hour and 30 minute cooldown after being used once. Leading zeroes are not necessary, but can be used.
The following script calls are meant to be used in “Script…” event commands found under Tab 3 when adding a new event command.
This script call allows you to manually activate the cooldown for an actor’s skill. actor_id is an Actor ID number from your database and skill_id is a skill ID number the actor has learned. This has no effect if the skill does not have a cooldown.
This script call allows you to manually reset the cooldown for an actor’s skill to 0. actor_id is an Actor ID number from your database and skill_id is a skill ID number the actor has learned.
This script call removes all current real-time cooldowns from the given Actor where actor_id is an actor ID number from your database.
This script aliases several default methods.
- Xiderwong Action System (XAS) VX Ace
Requests for compatibility with other scripts are welcome.
Terms and Conditions
Please do not repost this script elsewhere without permission.
Free for non-commercial use. For commercial use, contact me first.
Newest versions of this script can be found at https://mrbubblewand.wordpress.com/