Custom Skill Formula if Crit

Status
Not open for further replies.

ajilejay

Veteran
Veteran
Joined
Jul 17, 2013
Messages
64
Reaction score
0
First Language
English
Primarily Uses
can I make a formula that adds and additional effect on crit.

a.crit? tp += 5

Everything I can tried has resulted in damge = null
 

Fomar0153

Arkz
Restaff
Joined
Mar 13, 2012
Messages
1,327
Reaction score
473
First Language
English
Primarily Uses
RMMZ
You could do:

b.result.critical ? 1000000 : regular formula

for a different effect or:

if b.result.critical; something; end; regular formula

for an additional effect
 

ajilejay

Veteran
Veteran
Joined
Jul 17, 2013
Messages
64
Reaction score
0
First Language
English
Primarily Uses
You could do:

b.result.critical ? 1000000 : regular formula

for a different effect or:

if b.result.critical; something; end; regular formula

for an additional effect
Fomar... You are the master of combat formulas I read your combat formula tutorial earlier.

Any chance you can include a sample list of things that can be used in the formula box in your tutorial?

I would never have thought of .result.critical nor do I know where I could find it out > <

something like that included in your tutorial would be awesome!

are the .things methods?
 
Last edited by a moderator:

Fomar0153

Arkz
Restaff
Joined
Mar 13, 2012
Messages
1,327
Reaction score
473
First Language
English
Primarily Uses
RMMZ
b is the defender where the damage is calculated

result is an object of type Game_ActionResult

critical is an attribute of that object.

I keep meaning to copy further examples in to the first post, maybe one day I'll get around to it.

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

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.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top