The Daily Click ::. Forums ::. Klik Coding Help ::. Damage calculation?
 

Post Reply  Post Oekaki 
 

Posted By Message

siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
23rd October, 2014 at 23/10/2014 01:09:55 -

how is this usually done in an rpg? i want my characters to have the following stats...
HP, ATTACK, DEFENSE, MAGIC ATTACK, MAGIC DEFENSE, SPEED

the only way i was thinking to do it would be to have characters ATTACK stat (CA) added to the actual attacks damage stat (AD) then subtract the enemies DEFENSE (ED) and then for a critical hit or super effective hit multiply that times 2, and then subtract that number from their health.

So it would be....
ENEMY HEALTH - ((CA)+(AD)-(ED))
would that work ok if a lv 1 characters base stats are no higher than 2 and base hp is about 10 with most starting attacks doing about 3-5 damage? if this is an awful idea, feel free to let me know some better ways to do it.

 
[Game design makes my brain feel like its gonna explode.]

nivram



Registered
  20/07/2006
Points
  171
24th October, 2014 at 24/10/2014 17:53:31 -

Take a look at my MMF Tech Manual on my website. There are several formulas. It is in the MISC section.

Marv

 
458 MMF2 & CTF 2.5 examples and games

http://www.castles-of-britain.com/mmf2examples.htm

siven

I EAT ROCKS

Registered
  03/11/2008
Points
  604

Wii OwnerVIP Member
1st November, 2014 at 01/11/2014 21:59:45 -

Lovin the tech manual, thanks a ton!

 
[Game design makes my brain feel like its gonna explode.]

Pan-tosser



Registered
  24/10/2008
Points
  520

Has Donated, Thank You!
2nd November, 2014 at 02/11/2014 01:44:30 -

@ nivram i've been to your site many times but some how i missed that manual

 
https://www.facebook.com/nathon.brown.7
   

Post Reply



 



Advertisement

Worth A Click