Item Consuming Via Skill

oatmealftw

Oatmeal
Member
Joined
Jun 2, 2014
Messages
3
Reaction score
0
First Language
English
Primarily Uses
Is it possible to set a skill so that it consumes an item on use? 

A good example of what I am talking about is in Final Fantasy, the ninjas can use the "Throw" skill at the cost of a shuriken. 

Thanks in advance, Oats
 

Athryl

The Reticent
Veteran
Joined
Jul 20, 2013
Messages
309
Reaction score
101
First Language
English
Primarily Uses
Someone correct me if I am wrong (and I will go play around with it myself too) but I think you can do it without a script by using a common event within the skill.
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,513
Reaction score
3,204
First Language
Binary
Primarily Uses
RMMZ
Someone correct me if I am wrong (and I will go play around with it myself too) but I think you can do it without a script by using a common event within the skill.
yep ^_^
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Or as part of the damage formula.


Might be tricky (that way, OR with a common event) if the skill has the possibility of missing - would have to question if you want to use the item even on a miss.
 

oatmealftw

Oatmeal
Member
Joined
Jun 2, 2014
Messages
3
Reaction score
0
First Language
English
Primarily Uses
Could you care to show how you would do it via a common event?

Also, thanks for the Yanfly, but if this can be done without scripting, then it is preferred.
 

Athryl

The Reticent
Veteran
Joined
Jul 20, 2013
Messages
309
Reaction score
101
First Language
English
Primarily Uses
Here is what I worked out so far but it has some issues I am hoping someone else can help out with.

1) When doing the first ability to check for the reagent the text saying "No effect" pops up, I can't think of how to disable that.

2) If you don't have the reagent you essentially lose your turn, when ideally (for me at least) it'd just let you pick a different ability.

Also, if there is a way to do it with just one skill, someone enlighten us!

Here are the 2 skills and 1 common event I did.  The note area explains some things.





 

oatmealftw

Oatmeal
Member
Joined
Jun 2, 2014
Messages
3
Reaction score
0
First Language
English
Primarily Uses
Cool! I will mess around with this a bit more, but this is a great start! Thanks!
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
Since it was mentioned, could someone say how it could be made through the damage formula?
 

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

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top