I have looked in Visustella's cooldowns and warmups, but don't see how to accomplish this...
Is there a way to make a skill usable in battle only once?
RPG Maker MZ Supportthis can only be done by plugin - you'll have to look for a plugin that restricts skill uses. Visustella is only one of a lot of plugin creators.
Sorry. Do you mean like limited skill to use once in the battle, correct?
forums.rpgmakerweb.com
Skill cooldowns.
Limited use skills.
But you need try it if it is conflict with VisuStella plugin.
@Andar, hello. Nice to see you here alive and well.
Skill Extension (hp costs, cooldowns, limited uses and some evals)
Skill Extension Version 1.0 by Fomar0153 Description Extends Skills providing more options. Features Skill hp costs. Skill cooldowns. Limited use skills. Run custom code to determine if skills are usable and to pay for them. Run custom code before the skill, when it makes the damage value...
forums.rpgmakerweb.com
Skill cooldowns.
Limited use skills.
But you need try it if it is conflict with VisuStella plugin.
@Andar, hello. Nice to see you here alive and well.
Nah, it's easy to achieve without plugins. Just make the skill put a state on the user that seals that specific skill and lasts until the end of battle (and make sure to refresh it if that user dies and gets revived mid-battle). Alternatively, remove the skill upon usage and replace it with a copy that isn't usable in battle. Then swap back at the end of each battle.
Yup, like @Milennin said all you need to do is make a State with the feature "Seal Skill: X" where X is the skill used.
To apply this State to the skill's user, so they can't use that Skill again for the rest of battle, the easiest way to do it is to start your damage formula with a.addState(n); where n is the State ID.
You could alternatively have the skill execute a Common Event which sets a Variable to the "Last Actor ID to Act" (using Control Variables -> Game Data) and then adds this State to the actor whose ID is that variable (using Change State -> Actor: Variable); this might be useful if for example your skill does not allow a damage formula.
Finally, you could use VS's cooldowns and simply add a cooldown of like 999 turns to the skill, but I don't see why you'd do that when there are better solutions (like the ones described here) that don't require a plugin and don't interact with cooldown modifiers.
To apply this State to the skill's user, so they can't use that Skill again for the rest of battle, the easiest way to do it is to start your damage formula with a.addState(n); where n is the State ID.
You could alternatively have the skill execute a Common Event which sets a Variable to the "Last Actor ID to Act" (using Control Variables -> Game Data) and then adds this State to the actor whose ID is that variable (using Change State -> Actor: Variable); this might be useful if for example your skill does not allow a damage formula.
Finally, you could use VS's cooldowns and simply add a cooldown of like 999 turns to the skill, but I don't see why you'd do that when there are better solutions (like the ones described here) that don't require a plugin and don't interact with cooldown modifiers.
@Wavelength I was going to do what you mentioned, using VS's cooldowns and add 999 turns, but thought that was a roundabout way of achieving that, and I thought it might display the turns as well, so then I would have to find a way to eliminate that.
@Wavelength and @Milennin , thank you, I have the information I needed. I will have to play with it a bit, but I should be able to get this to work, thank you!
@Wavelength and @Milennin , thank you, I have the information I needed. I will have to play with it a bit, but I should be able to get this to work, thank you!
With MZ Visustella Limited Skill Uses plugin:
On the skill (in the database notetag box, add these two note tags:
<Limited Uses: 1>
<After Battle Uses Recover: 1>
IF you don't want escapes and defeats to refresh the count, use this instead:
<Limited Uses: 1>
<Victory Uses Recover: 1>
Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-make-a-skill-usable-in-battle-only-once.130805/