slickdeath97

Veteran
Veteran
Joined
Feb 26, 2019
Messages
498
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,345
Reaction score
8,078
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
498
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,345
Reaction score
8,078
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
498
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,345
Reaction score
8,078
First Language
German
Primarily Uses
RMMV
 

Latest Threads

Latest Profile Posts

When you don't find any time to work... :kaocry:
First Ten Minutes of my Caretaker inspired game

Finally, I got a good Gmail message [from smg5urded]
"This game does look a bit plain, but, I'm sure this does not destroy the experience as a whole. Monsters fit your style of game-play, mapping looks crude but I'm sure you can make it better if you do a remake of Forgotten Eclipse"
Going to start a new project today. OMG, it will be on RPGMaker MV. :D
Paid material WIP~
EysZO9cVEAEWy9W

This is Alchemy pack.
I decided to add more witch elements.

Now we have wooden props, candles, pots, and potion bottles.
We also want to add herbs, kettles, fireplaces, etc.

Forum statistics

Threads
110,397
Messages
1,052,952
Members
143,454
Latest member
pinhapower
Top