Main Menu
  • Welcome to The RPG Maker Resource Kit.

[RPGXP] I need a better understanding on stats (Str,Int,Dex,Etc.)

Started by neutral12, May 01, 2011, 03:53:34 AM

0 Members and 3 Guests are viewing this topic.

neutral12

Hi all.

I'm currently developing a game and I have had this question that has been bugging me for a very long time. So I came here to hopefully get it answered. My question is, how do the stats in RPG Maker XP work? I don't understand completely what the mechanics of Str, Int, Dex, Agi, etc. all do. I also want to know how the program knows what stats to use to power certain weapons (Such as Str powering a sword), or are weapons powered a different way? Mainly, I want to know what stat influences bow weapons to most; is it Dex? Over all, I'm very lost.


~Neutral

LoganF

I'm not a big user of RMXP, but looking at the scripts + database I can see that:

STR - Affects the damage dealt for all weapon attacks (incl. bows and other ranged weapons).
DEX - Affects the critical hit chance of the attack.
AGI - Affects evasion and the chance of avoiding a critical hit. Also affects chance of escaping battles and the speed of the actor in respect to other battlers.
INT - Affects the power of magical attacks

All 4 of these also affect the Rate value should the respective stat modifier have a value greater than 0.

If you right click pretty much anything on the database and hit "What's this?" it'll tell you what they do and what they affect. Also, the help file has some useful information on Battle Formulas that shows how the stats are used when calculating damage and hit rates.
(Why do I always feel like it's the end of the world and I'm the last man standing?)

neutral12

I see, thank you for this information.

I was thinking of maybe making a test game on the side to mess around with the scripts to get used to them. I was wondering where I can find the scripts for all the stat formula and maybe change what they do. Where could I find the scripts for the stats?

pacdiggity

In RMXP, the stats, hp and mp are defined it Game_Battler1. Attack power, physical and magical defense power, hit rate and evasion are all handled within Game_Battler1 also, further on it the code. The formulas are very visible.
it's like a metaphor or something i don't know

neutral12

Hmmm, ok. Lets say I wanted to change the stats formula so that Bows power is affected by Dex (since bows being powered by Str is pretty awkward in my opinion). What exactly would I have to do?

pacdiggity

A quick glance through the script list reveals that I need a longer look at the script list.
That being said, I'm not at XP scripter so I probably wouldn't be able to tell you anyway.
it's like a metaphor or something i don't know