Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

I need to change my maximum attack and i give [FULL DETAIL]

Ok i need to change my maximum attack from unlimited to 9999 hit point.
The rpg maker i used is rpg maker xp.
I wanted my game hit just like laxius power 1 2 3 because it maximum attack or should i say Critical hit is 999 and that is too boring so i need to change MY GAME critical hit to 9999.
So please.Give me a script or just tell me what i need to change like:
Game_temp ,  actor  , line 222227 change it to what ever.
And could someone please tell me on how to put Signature.
 
There are two places you need to change in Game_Battler 3. Go to that script, and look for the comments that talk about Dispersion and Second Hit Detection (around lines 72 and 152)

Between each of those (after the last end for Dispersion and above the comment for Second Hit Detection) add the code:

Code:
# 9999 Damage Cap
      if self.damage > 9999
        self.damage = 9999
      end

If you want to alter the cap, simply change the 9999 to whatever you feel like. 999, 99999, 256, whatever you set those two numbers to, will be the maximum damage.

You could possibly get creative with this and include a break damage limit ability. You couldn't go into depth like Final Fantasy X and have one for each character, but you could use an if statement to vary the cap based on your progression through the game.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top