VisuStella (SkillsStatesCore) Skill Cost Question

Venjjeance

Villager
Member
Joined
Oct 18, 2014
Messages
10
Reaction score
5
Primarily Uses
Hello,

I am trying to using VisuStella's Skills States Core to replicate a nod to Final Fantasy's Gil Toss for a money toss skill.
I have the damage formula worked out on the skill side but I'm not entirely certain how to input the cost formula on the plugin side.

I'm trying to use the FF5 formula for a variable cost = attacker level * (50G * NumEnemies) as it hits all enemies.
In the game I'm working on, the currency will be called Pylero, with the abbreviate P (in case that's needed for setup).

I gathered from the script notes, the note tag would be <Pylero Cost: x> were x would be the cost.
Based on the examples is shows an exact cost or a percentage cost but in the actual plugin parameters it has a Cost Calculation for "code on how to calculate resource cost".

Still a bit of a novice with variable formulas like this but is there a way for this to work? It's just occurring to me there needs to be a way the cost calculator knows how many enemies are on screen to make a variable cost. Then on top of that, how to add it into the plugin itself to create a variable cost. If someone could lend some guidance on this variable cost set up with the Skills States Core, it would be very much appreciated. Thanks.
 

miyanke

Veteran
Veteran
Joined
Dec 2, 2015
Messages
73
Reaction score
12
First Language
Spanish
Primarily Uses
RMMZ
Maybe this can help you:
 

Latest Threads

Latest Posts

Latest Profile Posts

Stream will be live shortly! I will be beginning a play-through of Resident Evil 4! Feel free to drop by!

1st iteration on castle interior in Tiled.
I've started up Pillars of Eternity. It's interesting how the game does a "select choice" cutscene using still image art for dramatic flair. I wonder if that might work for my RPGMaker project.
The self-righteous indignation of family when you expect them to pay back money you've leant to them never ceases to amaze me.
Gamedev for relaxing? yes or no?

Forum statistics

Threads
107,744
Messages
1,031,802
Members
139,882
Latest member
MoBard
Top