slickdeath97

Veteran
Veteran
Joined
Feb 26, 2019
Messages
507
Reaction score
13
First Language
english
Primarily Uses
RMVXA
Hey guys/gals, I need a bit of help with something that I had an idea for in my game. I want to make some skills that look at specific things in game. For example one of the skills looks at the users attack stat and compares it to the targets stat. If the users stat is higher then the damage is doubled, but if the targets stat is higher then the damage is cut in half. Same goes for the magic attack skill and a status skill will look at the hp. If anyone knows how this would be done please let me know. Thanks for the help.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,567
Reaction score
8,159
First Language
German
Primarily Uses
RMMV
damage formula coding, there is a specific pinned topic for this on the forum.
basically you need the RGSS-code for "if a.atk>b.atk then r=2*dmg else r=dmg/2;r"
 

slickdeath97

Veteran
Veteran
Joined
Feb 26, 2019
Messages
507
Reaction score
13
First Language
english
Primarily Uses
RMVXA
damage formula coding, there is a specific pinned topic for this on the forum.
basically you need the RGSS-code for "if a.atk>b.atk then r=2*dmg else r=dmg/2;r"
Where would I start looking?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,567
Reaction score
8,159
First Language
German
Primarily Uses
RMMV
Search for "damage formula vx ace" on this forum and read through the pinned tutorial topic I mentioned above
 

slickdeath97

Veteran
Veteran
Joined
Feb 26, 2019
Messages
507
Reaction score
13
First Language
english
Primarily Uses
RMVXA
Search for "damage formula vx ace" on this forum and read through the pinned tutorial topic I mentioned above
Still a bit confused. Looked for it by searching and nothing came up. Am I doing something wrong?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,567
Reaction score
8,159
First Language
German
Primarily Uses
RMMV
 

Latest Threads

Latest Profile Posts

just beat ff7 original for the first time since 2010. having played remake last year, I have a much better appreciation for the original oddly enough. I still like some of the character presentation in remake more, but the original's got a lot going for it.
Ever reach that moment in your life when your juggling a dozen or more projects that you know will never be made but don't have the heart to delete them? Ugh, I hate those moments...
:kaosigh: Why must you hurt me so?
my main character isn't the warrior of light or the chosen one, he's a self righteous, invasive try hard who gets ahead of himself and makes a critical error, resulting in a downward moral spiral that, eventually, leads him to truths that make him a better man, and im DAMN proud of that.
Generate Actors, Dark Fantasy Monsters, & I Heard There Was a Chosen One, | RPG Maker News #42

Work on Cat Quest: The Last Catmancer continues slowly but surely. :kaopride: Today I received the Game Over screen from @Finnuval!
GameOver.png

Forum statistics

Threads
111,448
Messages
1,061,170
Members
144,811
Latest member
nikhil59
Top