The RPG Maker Resource Kit

RMRK Announcements, Support, Feedback and Archives => RMRK Project Subforums => RMRK Discussion Archives => Oh BOY!! => Topic started by: Arrow on February 28, 2010, 03:23:02 PM

Title: Damage Calculation
Post by: Arrow on February 28, 2010, 03:23:02 PM
Damage = Base Damage + (A's attack × 4 × Attack F ÷ 100) + (A's spirit × 2 × Spirit F ÷ 100) - (B's defense × 2 × Attack F ÷ 100) - (B's spirit × 1 × Spirit F ÷ 100)



This is RMVX's standard damage calculation formula, designed for stats in the quad digits. I'm thinking the game's number crunching will be easier for us (setting the stats) and the player (calculating stats) if we drop down to three digits, and modify this formula a bit. It's way too complicated right now.

Let's think guys: What can we use that will be simple, but intuitive?
Title: Re: Damage Calculation
Post by: Arrow on February 28, 2010, 09:22:40 PM
+++++++++++++++++ P H Y S I C A L   D A M A G E +++++++++++++++++
_________

STR - DEF = DAMAGE + ACC. BONUS

---------

ACC. BONUS = (DAMAGE * 0.06) * VARIANCE%

VARIANCE = (100 - AGI) * 0.01

_________

+++++++++++++++++ S K I L L   D A M A G E +++++++++++++++++

_________

SPI - SPI/2 = DAMAGE + ACC. BONUS

---------

ACC. BONUS = (DAMAGE * 0.06) * VARIANCE%

VARIANCE = (100 - AGI) * 0.01