RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[SOLVED] [VX] Cooldown on skills

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 50
RMRK Junior
Cooldown on skills
01/03/2013



English is not my native language. I'm french. Sorry if there are errors.

Summary
I need a script that enables skills to have cooldowns.
For exemple: Hero uses Sword Skills, he won't be able to use Sword Skill for two turns.

The cooldown has to reset after the battle ends.

I'm using SBS Tankentai: http://www.rpgmakervx.net/index.php?showtopic=3781
I'm not using the Active Time Battle though. Just the turn based battle.


The script I found so far that has a cooldown system for skills:
Recharge skill by Modern Algebra: http://rmrk.net/index.php?topic=41079.0
>>> It doesn't reset the cooldown after the end of the battle. I tried to look for something, but didn't know where to look. <<"
Cooldown Script by Dhoom: http://www.rpgrevolution.com/forums/index.php?showtopic=50083
>>> There's a bug when you select an action for an actor and then cancel it, the cooldown still decreases.
Yanfly YERD/YEZ Custom Skill effect: http://yanflychannel.wordpress.com/
>>> Compatiblity problem with SBS Tankentai.

Features Desired
  • Cooldown reset after end of each battle
  • Cooldown is to be shown next to the skills in the skill windows in a different color when in battle
  • If possible, I would like this script to use notetags
  • Only the skills need cooldowns. Items and weapons won't have cooldown



Did you search?
Yes, please look above.

Where did you search?
  • rmrk
  • rpgmakervx
  • google

What did you search for?
  • rpg maker vx
  • cooldown
  • recharge

When the request is completed, I can draw some picture for you. http://daheji.deviantart.com/

Thank you for your time.
« Last Edit: March 02, 2013, 01:23:48 AM by daheji »

***
Rep:
Level 77
RMRK Junior
Yanfly did one for VX Ace, but between Redux and Melody I don't think he ever did anything of the sort for VX...

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
I updated my Recharge Skills script to v. 1.0.1 in an attempt to fix that bug you mentioned.

I did not test it and am not positive it will work with Tankentai, but let me know.

**
Rep: +0/-0Level 50
RMRK Junior
Hi! Thank you for quick reply.

I have this error when the battle ends.

http://puu.sh/2au6k

Cooldown works in battle.

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Ah, right. Go to the identified line in the script and replace $game_actors with $game_party.members, so that the line is:

Code: [Select]
$game_party.members.each { |actor| actor.clear_skill_recharge }

**
Rep: +0/-0Level 50
RMRK Junior
It works fine now.

Thank you very much!