Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
First off I have all of Yanfly's plugins.

So I would like to know how to create a stacking state that has stacks consumed when certain abilities are used. I'll give an example.

 

Gunslinger: Starts with 12 stacks of the "Ammo" state. Abilities use between 1 and 6 ammo each. If only 3 ammo is remaining, then the 6 ammo ability cannot be used. Once all ammo has been consumed the "Ammo" state is removed and a state called "Reloading" is automatically applied for one turn (During this turn the gunslinger can do whatever he wants from items to subclass skills), after which the "Reloading" buff is removed and "Ammo" is again rebuilt to 12 stacks. Additionally you can use a skill called "Reload" early to bring your ammo count back up to 12.

 

Can this be done?
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,967
Reaction score
8,616
First Language
German
Primarily Uses
RMMV
Why using buffs for this?

A buff is a temporary change to a parameter, but having ammo or not should not change the actor parameters.

A better way to handle this would be to define the ammo as items and use a skill cost script to require one or more parts of that item to be available as a cost of the skill.

And make a reload skill that simply sets the number of ammo-items to 12 by common event when used.
 

Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
Sorry. I meant more of a stacking state. The reason for this is that it would have a visual cue on the actor's portrait during combat showing how many stacks they have. It wouldn't actually change any parameters.

I thought about using ammo as an item, but then they would have to go into the item list during combat to see how much ammo they have remaining. That would be like casting spells without being able to see your MP bar.
 

Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
With the skill cost script it doesn't show how many you have remaining, though, does it? Though that ammunition plugin seems interesting, I think it may be a little more complicated than I may need (Only have one class out of around 42 classes that uses ammo).
 

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,942
Reaction score
1,331
First Language
English
Primarily Uses
RMMV
It shows how many of the items you have left.
 

Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
Well that settles it for me.

Only question now is how do I have a reload button run a common event during combat? Still learning.
 

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,942
Reaction score
1,331
First Language
English
Primarily Uses
RMMV
The ammo draws from which ammo you have equipped and how much you have in the inventory. There's no need for a reload function.
 

Servidion

Last Soul Keeper
Veteran
Joined
Mar 15, 2015
Messages
233
Reaction score
27
First Language
English
Primarily Uses
RMMV
The main issue with that is balancing. If you can just stockpile a ton of ammo in your inventory then you can just spam your most powerful abilities on every trash fight. The reason for the 12 ammo is so you need to pick and choose which abilities you want to use before taking a turn to reload. On a boss maybe you'll use your hardest hit twice (all 12 ammo) before taking a turn to reload, whereas in a regular fight maybe you just want to use a 2-hit combo for 2 ammo since the mobs have far less health. That means multiple turns before reloading.
 

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,942
Reaction score
1,331
First Language
English
Primarily Uses
RMMV
If your scared of over use then you can make ammo scarce/exspensive enough so that players won't spam them, make the stronger skills cost more ammo, or use Yanfly's skill cooldown script to add a certain number of times the skill can be used before the player has to wait X amount of turns for it to be used again.
 

Latest Threads

Latest Posts

Latest Profile Posts

So got my hearing tested to see if it was the cause of my mishearing what people say. Test showed no problems but talked with the doctor about anxiety and ADHD causing hearing issues and she agreed and also added that some people hear things differently. With my anxiety cause I am in fight or flight I pay attention to all the sounds in the area so body knows when react. Can't pay attention to one source.
Welp, people are trying to quit my team because I can't code. Where's the dancing blob emoji when I need it?

Forum statistics

Threads
116,053
Messages
1,095,319
Members
151,402
Latest member
Taigris
Top