How to make a skill stats dependent?

KeyToTruth12

Grammar Nazi
Veteran
Joined
Aug 16, 2014
Messages
124
Reaction score
7
First Language
English
Primarily Uses
As in, how to make a skill, but it's damage is based on the user stats.

For instance, my Marksman has x amount of AGI. The skills he usedwill be based on his AGI. So even though my Marksman has 1000 ATK but 0 AGI, it won't deal any damage. It's similar to Disgaea skills.

Any answers will be greatly appreciated.  :)
 

Bloodmorphed

Dungeon Fanatic
Veteran
Joined
Sep 17, 2012
Messages
1,466
Reaction score
144
First Language
English
Primarily Uses
instead of the equation as it is like this:

a.atk * 4 - b.def * 2

do

a.agi * 4

(I don't know if this works, never tested it, but in theory it should work)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,669
First Language
German
Primarily Uses
RMMV
As in, how to make a skill, but it's damage is based on the user stats.
All skills are always based on user stats - by default, on the user's attack stat and the target's defense stat.
a is the placeholder for the skill user, b is the placeholder for the skill target - and any stat from either one can be referenced in the damage formula, like a.agi, a.mdf, b.hp or whatever.


Hover the mouse cursor above the damage formula field to get the tooltip showing the other options.
 

KeyToTruth12

Grammar Nazi
Veteran
Joined
Aug 16, 2014
Messages
124
Reaction score
7
First Language
English
Primarily Uses
Well, it works.

Will report later if something goes wrong.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top