DoubleX RMMZ Skill Item Cooldown

Purpose

Lets you set some skills/items to have battler and skill/item cooldowns

Introduction

1. This plugins lets you set 2 kinds of skill/item cooldowns:
– Skill/Item cooldown – The number of turns(battle turn in turn based individual turn in TPBS) needed for the skill/item to cooldown before it becomes usable again
– Battler cooldown – The number of turns(battle turn in turn based individual turn in TPBS) needed for the battler just executed the skill/item to cooldown before that battler can input actions again
2. If the skill/item cooldown is 1 turn, it means battlers with multiple action slots can only input that skill/item once instead of as many as the action slots allow
If the battler cooldown is negative, it means the TPB bar charging value will be positive instead of 0 right after executing the skill/item(So a -1 battler cooldown means the battler will become able to input actions again right after executing such skills/items)
When updating the battler individual turn count in TPBS, the decimal parts of the battler will be discarded, but those parts will still be used when actually increasing the time needed for that battler to become able to input actions again In the turn based battle system, the decimal parts of the battler cooldown counts as 1 turn
The decimal parts of the final skill/item cooldown value will be discarded
Skill/item cooldown can be set to apply outside battles as well Skill/item cooldown won’t be updated when the battler has fully charged the TPBS bar

Games using this plugin

None so far

Prerequisites

Plugins:
1. DoubleX RMMZ Enhanced Codebase
Abilities:

1. Nothing special for most ordinary cases

2. Little RMMZ plugin development proficiency for more advanced usages(Elementary Javascript exposures being able to write beginner codes up to 300LoC scale)
3. Some RMMV plugin development proficiency to fully utilize this(Basic knowledge on what RMMV plugin development does in general with several easy, simple and small plugins written without nontrivial bugs up to 1000 LoC scale but still being inexperienced)

Terms Of Use

1. Commercial use’s always allowed and crediting me’s always optional.

2. You shall keep this plugin’s Plugin Info part’s contents intact.

3. You shalln’t claim that this plugin’s written by anyone other than DoubleX or my aliases. I always reserve the right to deny you from using any of my plugins anymore if you’ve violated this.

4. If you repost this plugin directly(rather than just linking back), you shall inform me of these direct repostings. I always reserve the right to request you to edit those direct repostings.

5. CC BY 4.0, except those conflicting with any of the above, applies to this plugin, unless you’ve my permissions not needing follow so.

6. I always reserve the right to deny you from using this plugin anymore if you’ve violated any of the above.

Contributors

Authors:

1. DoubleX

Plugin Development Collaborators:

– None So Far

Bug Reporters:

– None So Far

Compatibility Issue Raisers:

– None So Far

Feature Requesters:

– None So Far

Changelog

{ codebase: "1.1.1", plugin: "v1.02a" }(2021 Feb 7 GMT 1300):
1. Added skillItemCooldownGaugeColor1 and skillItemCooldownGaugeColor2 to let you show the TPB battler cooldown bar inside battles with configurable colors
2. Added cancelBattlerCooldownHotkeys and cancelSkillItemCooldownHotkeys to let you set some hotkeys to cancel the battler/skill item cooldown of the corresponding actors* respectively
3. Added the following parameters:
   - canCancelBattlerCooldown
   - canCancelSkillItemCooldown
   - cancelBattlerCooldownFail
   - cancelSkillItemCooldownFail
   - cancelBattlerCooldownSuc
   - cancelSkillItemCooldownSuc
   - canCancelBattlerCooldownNotetagDataTypePriorities
   - canCancelSkillItemCooldownNotetagDataTypePriorities
   - cancelBattlerCooldownFailNotetagDataTypePriorities
   - cancelSkillItemCooldownFailNotetagDataTypePriorities
   - cancelBattlerCooldownSucNotetagDataTypePriorities
   - cancelSkillItemCooldownSucNotetagDataTypePriorities
4. Added the following plugin commands:
   - canCancelBattlerCooldown
   - canCancelSkillItemCooldown
   - cancelBattlerCooldown
   - cancelSkillItemCooldown
5. Added the following notetags:
   - canCancelBattler
   - canCancelSkillItem
   - cancelBattlerFail
   - cancelSkillItemFail
   - cancelBattlerSuc
   - cancelSkillItemSuc
{ codebase: "1.1.0", plugin: "v1.01b" }(2020 Nov 27 GMT 0500):
1. You no longer have to edit the value of DoubleX_RMMZ.Skill_Item_Cooldown.PLUGIN_NAME when changing this plugin file name
{ codebase: "1.0.2", plugin: "v1.01a" }(2020 Oct 11 GMT 0900):
1. Added the plugin query and command counterparts for the following script calls of this plugin:
   - battlerCooldown()
   - isBattlerCooldown()
   - skillItemCooldown(item)
   - isSkillItemCooldown(item)

{ codebase: “1.0.0”, plugin: “v1.00a” }(2020 Aug 27 GMT 0300):

1. 1st version of this plugin finished

 

Download Link

Demo Link

4 thoughts on “DoubleX RMMZ Skill Item Cooldown

  1. [b]Updates[/b]
    [CODE]
    * { codebase: “1.0.2”, plugin: “v1.01a” }(2020 Oct 11 GMT 0900):
    * 1. Added the plugin query and command counterparts for the following
    * script calls of this plugin:
    * – battlerCooldown()
    * – isBattlerCooldown()
    * – skillItemCooldown(item)
    * – isSkillItemCooldown(item)
    [/CODE]

    Like

  2. Updates
    { codebase: “1.1.1”, plugin: “v1.02a” }(2021 Feb 7 GMT 1300):
    1. Added skillItemCooldownGaugeColor1 and skillItemCooldownGaugeColor2 to let you show the TPB battler cooldown bar inside battles with configurable colors
    2. Added cancelBattlerCooldownHotkeys and cancelSkillItemCooldownHotkeys to let you set some hotkeys to cancel the battler/skill item cooldown of the corresponding actors* respectively
    3. Added the following parameters:
    – canCancelBattlerCooldown
    – canCancelSkillItemCooldown
    – cancelBattlerCooldownFail
    – cancelSkillItemCooldownFail
    – cancelBattlerCooldownSuc
    – cancelSkillItemCooldownSuc
    – canCancelBattlerCooldownNotetagDataTypePriorities
    – canCancelSkillItemCooldownNotetagDataTypePriorities
    – cancelBattlerCooldownFailNotetagDataTypePriorities
    – cancelSkillItemCooldownFailNotetagDataTypePriorities
    – cancelBattlerCooldownSucNotetagDataTypePriorities
    – cancelSkillItemCooldownSucNotetagDataTypePriorities
    4. Added the following plugin commands:
    – canCancelBattlerCooldown
    – canCancelSkillItemCooldown
    – cancelBattlerCooldown
    – cancelSkillItemCooldown
    5. Added the following notetags:
    – canCancelBattler
    – canCancelSkillItem
    – cancelBattlerFail
    – cancelSkillItemFail
    – cancelBattlerSuc
    – cancelSkillItemSuc

    Like

Leave a comment