The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Countdown on April 14, 2015, 02:57:21 AM

Title: [Request] Stat Divider
Post by: Countdown on April 14, 2015, 02:57:21 AM
I have a request. I have no idea how difficult it would be, or if anyone would be able to take it on easily enough.

But I don't like the default stats in RMVXA. I don't like how you have so much HP or do so much damage.

I would like a script that simply divides all battle stats such as HP, MP, ATK, DEF, and all those by a number (10, for example) so that the numbers aren't quite so absurd.
Maybe make it so that you can say what you would like them to be divided by with a variable or something.

Is that possible? And if so, how difficult would it be to make?
Title: Re: [Request] Stat Divider
Post by: Trihan on April 15, 2015, 08:27:52 PM
class Game_BattlerBase
  STAT_DIVIDE = 10
  def mhp;  param(0) / STAT_DIVIDE;   end               # MHP  Maximum Hit Points
  def mmp;  param(1) / STAT_DIVIDE;   end               # MMP  Maximum Magic Points
  def atk;  param(2) / STAT_DIVIDE;   end               # ATK  ATtacK power
  def def;  param(3) / STAT_DIVIDE;   end               # DEF  DEFense power
  def mat;  param(4) / STAT_DIVIDE;   end               # MAT  Magic ATtack power
  def mdf;  param(5) / STAT_DIVIDE;   end               # MDF  Magic DeFense power
  def agi;  param(6) / STAT_DIVIDE;   end               # AGI  AGIlity
  def luk;  param(7) / STAT_DIVIDE;   end               # LUK  LUcK
end
Title: Re: [Request] Stat Divider
Post by: yuyu! on April 16, 2015, 05:06:02 AM
+rep trihan :)
Title: Re: [Request] Stat Divider
Post by: Countdown on July 10, 2015, 11:20:42 PM
Sorry for the incredibly late reply...and for resurrecting this topic.

But is there any way that this could additional stats like MP and TP cost and weapon added attack power and the amount of exp and gold dropped by enemies?