Please look at this Example Class, Stat, and Formula

Status
Not open for further replies.

Jusfury

Veteran
Veteran
Joined
Feb 22, 2013
Messages
52
Reaction score
5
First Language
English
Primarily Uses
N/A
Starting Stats for Class:Embracer
ATK: 20---Key Stat

DEF: 20

MAT: 25

MDF: 20
AGI: 30

LUK: 30
 

Fury Strike:

*Physical Attack

*Hp Damage

*Formula: 8*a.atk-4*b.def

*Variance: 20

Attacking

Demon Slime:

ATK: 25

DEF:20---Key Stat

MAT: 25

MDF: 20

AGI: 25

LUK: 20

So:  8*20-4*20=80

with Variance makes 64-96 Hp Damage

Did I get this right?

Don't know how to factor in Luk or if that has anything to do with this formula or if it should.

Also I'd like to know of any ideas to manipulate the equation.

Thanks for looking....
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Hmmm... yes, it's correct since varience is taken off normally as percent... so variance of 20 means 20% variance... 80*0.2 = 16 which is why it results to 64-96 damage

 

To use stats you simply use "battler"."stat"

 

you replace "battler" normally with a (caster/user) and b (target)

 

which is why the default atk - def fomula is like that: a.atk and b.def 

 

so if you want to use LUK, you just need to include a.luk or b.luk

 

but if you want LUK to influence variance, that's a different thing...

 

if it's specific to that skill alone, you can set variance to 0, then just apply some kind of variance formula in the damage formula that uses LUK... but if it's for all skills, then you might just want to edit the variance formula in the script itself...
 
Last edited by a moderator:

Jusfury

Veteran
Veteran
Joined
Feb 22, 2013
Messages
52
Reaction score
5
First Language
English
Primarily Uses
N/A
Hmmm... yes, it's correct since varience is taken off normally as percent... so variance of 20 means 20% variance... 80*0.2 = 16 which is why it results to 64-96 damage
Okay so is this right: 8 * a.atk - 4 * b.def - b.luk

                                 8 *   20  -  4 *   20   -   2060

                                 Variance 20%=48-72
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA

Jusfury

Veteran
Veteran
Joined
Feb 22, 2013
Messages
52
Reaction score
5
First Language
English
Primarily Uses
N/A
Thank You!  I think I have a beginning understanding how to manipulate the skills equation now.
 

kerbonklin

Hiatus King
Veteran
Joined
Jan 6, 2013
Messages
1,726
Reaction score
275
First Language
English
Primarily Uses
RMMV
You should read this great tutorial on using the custom Damage Forumula to it's higher extents.

http://cobbtocs.co.uk/wp/?p=271

Getting technical with switches/variables effecting formulas, user/target (a/b) syntaxes suches as .id, as well as add_state and remove_state.  It's really good to know.
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
there's also a thread here about the custom formula bar... it's worth a look too...

basically, anything that can be evaluated by Ruby will work on the formula bar...
 
Last edited by a moderator:

Jusfury

Veteran
Veteran
Joined
Feb 22, 2013
Messages
52
Reaction score
5
First Language
English
Primarily Uses
N/A
You should read this great tutorial on using the custom Damage Forumula to it's higher extents.

http://cobbtocs.co.uk/wp/?p=271

Getting technical with switches/variables effecting formulas, user/target (a/b) syntaxes suches as .id, as well as add_state and remove_state.  It's really good to know.
This is cool...
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

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.

Forum statistics

Threads
105,868
Messages
1,017,083
Members
137,583
Latest member
write2dgray
Top