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,521
Reaction score
8,148
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,521
Reaction score
8,148
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,521
Reaction score
8,148
First Language
German
Primarily Uses
RMMV
 

Latest Threads

Latest Profile Posts

I don't even know if I'm going to USE all these maps in my game, I just like making maps...
Huh. A forum topic just pointed out to me one MV->MZ difference I hadn't registered previously: the skill/item use message in MZ doesn't have the actor name hardcoded at the beginning like MV did, so you have more control over having stuff come before it.
1620833447825.png
This is one of the most beautiful art styles I've seen... it's also the style I draw in... er.... what's this style called...?
Ami
This is the End of the Endurance,everyone are celebrating the end of their Endurance

I just wondering what Menu for Tomorrow

Forum statistics

Threads
111,290
Messages
1,059,986
Members
144,604
Latest member
Greerenz
Top