Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

"Search/Salvage Item" Skill

Tujex

Villager
Xy$
0.00
I'm creating a Chemist like character/class, and was wondering how I would create a skill for said character to "search" for items midbattle.

I figure I'd have to accomplish this through common events, but I'm new to this whole program so I don't fully understand how to code all this just yet.

Anyone know how to make this skill effect?
 

Psycoris

Villager
Xy$
0.00
I think you are looking for this. It makes the actor wait a set amount of turns before using a skill.
This is a Victor engine plugin the example video is of a skill charging up, essentially the same result.
 

Tujex

Villager
Xy$
0.00
Not necessarily a charge, but...lemme give more detail.

I have the "skills cost items" plugin, for the character in question. He's got a separate skill set that specifically utilizes items (random herbs and junk I've created as items) to cast spells and buffs...a chemist.

I want to create a skill where he can search for items in battle so if he starts to run dry on ammunition, he can always spam search to get random items so he can keep on fighting without trips to the shop every couple big battles.
 

Psycoris

Villager
Xy$
0.00
Gotcha, Okay well working from my phone here so forgive some skewing of terms. I would set a skill to run a common event.

Common event:
Set a variable to a random number
Set if else statements to check the variable.

This allows randomization or probability to get an item.

In each of the true conditions aka matches the random number set it to give player whatever item or nothing.

If that doesn't work exactly let me know I will sit down this evening if I can and post more specifics. As that is just a mental outline.
 

Tujex

Villager
Xy$
0.00
I get the jist of what you're saying, I'll just have to toy around with it until I get it right. Thank you so much,
 
Top