Skill to use items for free

Destra47

Veteran
Veteran
Joined
Jul 14, 2020
Messages
35
Reaction score
15
First Language
English
Primarily Uses
RMMV
I've got a skill I want to make that'll let the player use one item for free in exchange for some TP. I've looked at Yanfly's Instant Cast plugin, but that's as far as I got. I can't figure out how to get the skill to then open the item menu.

If anyone knows how I could do this, that'd be a great help.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,252
Reaction score
7,629
First Language
German
Primarily Uses
RMMV
pleas define "free" - what is the cost you want to prevent? only not costing an action, or also not consuming the item, or anything else?

That said, it is impossible to open the item command in battle by a skill. You'll either need a plugin to handle this, or you need to use a workaround.
The workaround would be to have the skill call a common event, and then use show choices to select an item (conditional branch to test if it is in inventory) and then force action or event commands to create the desired effect, substracting (or not) the item from inventory.

That workaround has a lot of problems with the details, so you might prefer to request a plugin.
 

Destra47

Veteran
Veteran
Joined
Jul 14, 2020
Messages
35
Reaction score
15
First Language
English
Primarily Uses
RMMV
Free as in doesn't take up a turn, yeah.

The common event method would require I make a branch replicating every conceivable item the player could select, right?

I'll look into plugin options, then. Cheers.
 

Destra47

Veteran
Veteran
Joined
Jul 14, 2020
Messages
35
Reaction score
15
First Language
English
Primarily Uses
RMMV
Just in case anyone's in a situation like mine, I figured it out. It's horribly convoluted and I can probably do something to iron out the kinks later.

I'm using Yanfly's CTB plugin so I had an instant cast skill that sets a state which seals everything except item, then when the state wears off it grants a different state that fully charges my CTB charge. Both of which last one turn and the instant cast at the beginning adds two turns to all my timed states.
It's a headache and a half, but the net effect for the end user is the skill grants one free item use.
 

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

Latest Threads

Latest Profile Posts

Once again working on a game I'm not sure I'm going to sell or even publish
That feel when you're awake past midnight and suddenly you're one year older :ninja:
I miss collaborations, but I don't know how to find someone to make face parts just to share them with others, and even though I don't like writing or music, I can't trust anyone with writing on my game because it has themes that are easy to mess up, and music needs a clear tone and scenes.
People donating to me for my upcoming birthday so I can pay my team a little. Such angels, I'm so happy. T uT I smile so much my face hurts. Good souls in this world.
Playing Ragnarok Online again is very nostalgic. The last time I played it was 20 years ago, when I was ten-twelve old.
My first mmorpg.^^

Forum statistics

Threads
105,571
Messages
1,014,725
Members
137,245
Latest member
dashstop
Top