Is there a way to make a skill usable in battle only once?

Celestrium

Adventurer
Veteran
Joined
Mar 3, 2020
Messages
115
Reaction score
120
First Language
English
Primarily Uses
RMMZ
I have looked in Visustella's cooldowns and warmups, but don't see how to accomplish this...
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,420
Reaction score
7,709
First Language
German
Primarily Uses
RMMV
this 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.
 

Kupotepo

Fantasy realist/Advocatus Diaboli
Veteran
Joined
Jul 5, 2017
Messages
1,945
Reaction score
2,065
First Language
Thai
Primarily Uses
RMMV
Sorry. Do you mean like limited skill to use once in the battle, correct?

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.
 

Milennin

"With a bang and a boom!"
Veteran
Joined
Feb 7, 2013
Messages
2,520
Reaction score
1,655
First Language
English
Primarily Uses
RMMV
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.
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,634
Reaction score
5,115
First Language
English
Primarily Uses
RMVXA
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.
 

Celestrium

Adventurer
Veteran
Joined
Mar 3, 2020
Messages
115
Reaction score
120
First Language
English
Primarily Uses
RMMZ
@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!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 3)

Latest Threads

Latest Profile Posts

This is relevant so much I can't even!
Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect

Forum statistics

Threads
105,997
Messages
1,018,217
Members
137,777
Latest member
Bripah
Top