Casper Gaming Developer Corner
Casper Gaming Developer Corner

Documentation

Back to Plugin


Quick InfoVersion: Alpha
Made for RPG Maker MZ 1.10.0

Quick StartThe basic setup and usage of this plugin follows the below steps:

1. Add note tag (see note tag section) to skills you want to have a cooldown

2. The skill will go on cooldown when used, both for actors or enemies

3. Further cooldown control coming soon

Note TagsThis plugin uses a note tag to add a cooldown to skills. The note tag goes in any skill note box in the database, and will apply the cooldown to both actors or enemies.

To add a cooldown, use the following notetag:
<cgmzcooldown:x>
where x is the number of turns the skill will be on cooldown. For example, if you wanted a skill that went on cooldown for 5 turns you could do:
<cgmzcooldown:5>

Note that, depending on battle system, a turn will most likely end between when the actor uses the skill and when they can select a new skill, so if you enter in 5 and expect there to still be 5 more turns left, you are probably going to be disappointed since it will go use skill -> 5 turn cooldown -> turn end makes it 4 turns remaining -> skill select. In most cases, you will want to enter in 6 if you want 5 additional turns where the skill is unusable.

Text CodesIn the parameter Cooldown Text, which determines the skill name when it is on cooldown, you can use two special text codes:

%skill - will get replaced by the skill name
%cooldown - will get replaced by cooldown turns remaining

Plugin CommandsThis plugin supports the following plugin commands:

Clear Cooldowns
Clears any cooldowns on the given actors. If no actors specified, will clear entire party's cooldowns.

Saved GamesThis plugin is fully compatible with saved games. This means you can:

✓ Add this plugin to a saved game and it will work as expected.
✓ Change any plugin params and changes will be reflected in saved games.
✓ Remove the plugin with no issue to save data.

Filename

The filename for this plugin MUST remain CGMZ_Cooldowns.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.


Known Issues

This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.


Compatibility

This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.

Back to Plugin