.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old December 21st, 2008, 04:31 PM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: How is protection calculated?

Gregstrom, the formulae are equivalent.

B + [A/40 * (40-B)] =
B + A(40-B)/40 =
B + A*40/40 - A*B/40 =
A + A - A*B/40

Remember that Head Prot is actually totally discrete from Body Prot, unlike Natural/Armor Protection. That is, a creature with a Body Prot of 25 and a Head Prot of 5 (like many sacreds without helmets) will take approximately zero damage from humans wielding daggers most of the time because they hit the body, but sometimes they hit the head and do about 7 points of damage. So expect a high variance in damage taken if you have low head prot.

I'm not sure exactly how it's calculated whether something hits the head or the body. I seem to have observed that the relative sizes of the creatures involved makes a difference, as does the length of the weapons, but I'm not sure and I haven't ever checked the debug log to make sure.

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:28 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.