RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[REQUEST] Old script, "Smaller Numbers" for battle algorithm

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 83
Egg > Gnarmander > Gnarmeleon > Gnarizard
Somebody once wrote a script...
...Well actually, I guess it was more like a series of snippets as opposed to a script.
Anyway, it very effectively modified the DBS to work with "smaller" numbers.
This made it possible to make "43" a reasonable amount of HP,
whereas currently, anything lower than 300 basically means you die in 1 hit.
Basically I like all the stat numbers except HP.
"741" should be how my HP looks at like, level 99.

Anyway, if anybody could find these snippets or help me lower the massive amounts of
damage I'm taking without making attack and defense tiny numbers like 3 and 6, that'd be great.

AND YES, before anyone asks, I've searched - I've been searching for a looooong time.

******
Revolution is not a bed of roses.
Rep:
Level 91
Project of the Month winner for July 2009
This isn't a script. It's just careful modification of the database.

**
Rep:
Level 83
Detective Scrotes
Yea what Falcon said. In the database, lower the hp to what you want, also lower the enemies strength and attack and other parameters so they don't 1-shot you.

**
Rep:
Level 83
Egg > Gnarmander > Gnarmeleon > Gnarizard
Sorry, but you guys just aren't getting me.
What I mean is that I want the calculations to be handled differently.
Instead of using STR, DEX, AGI, and INT in the calculations the way the program was set to by default,
I want to set it my own way, and add special cases and such.
Example: If you attack someone, and their defense is crazy-nuts, and your attack isn't, I would like the attack to still do 1HP damage if it hits.
Things like that are not to do with the database.

Now that I've clarified, any help on the subject?
« Last Edit: December 26, 2009, 07:24:42 AM by Gnarizard »

**
Rep:
Level 83
Egg > Gnarmander > Gnarmeleon > Gnarizard
...Really guys?
I've been trying to figure this out forever now. Yes, I'm still waiting.

In a nutshell:
I do not want to edit the database (F9) to change the HP, Attack, Defense, etc. for a desired outcome,
what I want to do is change the entire damage algorithm, but still keep the Default Battle System.

Yes, I realize this is a double-post AND a necro-post,
but I figure it's justified in that my issue was never resolved.

**
Rep:
Level 71
RMRK Junior
To prevent 0 damage with a "Hit", edit line 83 in Game_Battler 3 to:

      self.hp -= [self.damage, 1].max

and for skills, line 176 to:

      self.hp -= self.damage == 0 ? 1 : self.damage

NOTE: skills can have negative damage (healing)

To change the battle algorithm, edit the methods  attack_effect & skill_effect in Game_Battler 3

I would be more specific if you would elaborate on how you want the algorithm changed. More than "I want to set it my own way"

Also, if you want the HP values lower, you will have to edit the database. If  your damage algorithm doesn't use the other parameters, then they won't matter.