Change the "maximum damage possible at once" in RMXP Standard Combat System ?!

Started by zottel89, July 17, 2012, 09:07:08 am

Previous topic - Next topic

zottel89

Hey there, guys :)

I've got a quick question:

How can I change the maximum damage possible with one attack in RMXP's standard combat system ?!
Right now it's "999", but I would actually like it to be "9999" !!

Any idea on how to do this ?!

Thanks,
zottel89

Blizzard

There is no damage limit in RMXP. Are you using a custom script that creates a limit?
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

zottel89

I'm not sure, not that I'd know of ....
but it seems like it locks right up at 999.... strange.

Could it be something from "Tons of Add-Ons" ?!   But i only have very few of those
actually activated.

Lobstrosity

Are you talking about the actual damage that shows up in battle or the STR statistic in the database?
Don't come any closer. I'm armed... with SCIENCE!

Blizzard

Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

zottel89

*fail*

It was so simple... yet extremely well hidden.

I had a skill that did not scale with the players Attack/Strength (STR-F).....
and it did exactly 999 damage, which led me to the conclusion that this would be
the 'maximum damage in RMXP'  ...

Weird coincidence.

Sry for stealing your time and thanks anyway^^

orochii

Just for the record, to give a damage limit to attacks and skills, it's pretty simple.

Look for this line:
self.hp -= self.damage

And just before any of those, put:
self.damage = [self.damage, 9999].min


Where "9999" can be any number you want to be the max damage.