Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
corpsegirl

How do I edit the battle math?

Question

I know some basics for ruby but I am not sure where to find everything in RMXP or how to go about altering its scripts. I remember reading somewhere that the game system has many hidden scripts and even simple edits to its preexisting scripts can cause massive issues. I am looking first to edit the battle to hit, damage, and other algorithms. Any advice would be helpful.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I know some basics for ruby but I am not sure where to find everything in RMXP or how to go about altering its scripts. I remember reading somewhere that the game system has many hidden scripts and even simple edits to its preexisting scripts can cause massive issues. I am looking first to edit the battle to hit, damage, and other algorithms. Any advice would be helpful.

 

The hit/damage algorithms are found in the Game_Battler class. The portion of the class you need is found in the Game_Battler3 script and the functions you want to look at are:

attack_effect

skill_effect

item_effect

slip_damage

 

You should be able to change the formulas in these functions without doing causing any issues.

Share this post


Link to post
Share on other sites
  • 0

The hit/damage algorithms are found in the Game_Battler class. The portion of the class you need is found in the Game_Battler3 script and the functions you want to look at are:

attack_effect

skill_effect

item_effect

slip_damage

 

You should be able to change the formulas in these functions without doing causing any issues.

 

I know some people still use the SDK but I'm not sure how to adjust functions using it too well. The SDK sounds like a good idea to keep things from being incompatible.

Share this post


Link to post
Share on other sites
  • 0
I remember reading somewhere that the game system has many hidden scripts and even simple edits to its preexisting scripts can cause massive issues.

No, I don't think that is true. When you continue to add and add scripts, compatibility issues start to occur and it can be difficult to fix.

 

Anyway, follow tacodome's instructions and it will lead you to how the battle formula is calculated. The first one starts at line 42 of "Game_Battler 3". You're going to need to understand the script a little, but I'm sure it's not too bad even you don't know ruby. I recommend opening up the RPG Maker XP helpfile and going to: RPG Maker XP -> Battle Formulas.

 

The SDK can cause a lot of compatibility issues too.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...