Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: legacyblade on June 23, 2014, 07:21:13 pm

Title: Simple damage algorithm
Post by: legacyblade on June 23, 2014, 07:21:13 pm
Hello everyone! Because combat is not a large focus of my game (and max level is 10), I think the default RMXP damage calculation is a bit of overkill. I've made the decision to do away with actor stats entirely (aside from HP and SP of course) and have damage calculation be based solely on equipment.

Would anyone be able to alter the damage algorithm to be as follows:

damage = attack - pdef
or if the weapon/skill has the MDEF-F set to 100
damage = attack - mdef

I'd like critical attacks to still double the amount of damage, and I'd like variance to behave as it currently does. (will vary it by a fixed percentage of the total damage)

Also, I'm using blizzABS, so I'd rather not enemies and actors be able to miss. When I hit an enemy and it says "Miss", it's always a pain.