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

This Month's Specials

ATF: Armored Task Force- Save $8.00
War Plan Pacific- Save $7.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old December 21st, 2008, 12:09 PM
Kadelake's Avatar

Kadelake Kadelake is offline
Sergeant
 
Join Date: Nov 2007
Location: Sweden
Posts: 270
Thanks: 31
Thanked 25 Times in 6 Posts
Kadelake is on a distinguished road
Default How is protection calculated?

I haven't found anything about this in the manual and can't remember seeing anything on the forums.

If you give someone with 10 natural protection an armour with 18 protection the body protection will be less then 28. How is this calculated?
Does the protection shown on the main unit page have any function or is it always the head and body stats that are used?
Reply With Quote
  #2  
Old December 21st, 2008, 01:51 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: How is protection calculated?

I don't remember the exact formula, but I'm sure someone does. It basically makes natural protection and armor protection less and less effective as both increase.

I think it's always either body or head protection.
Reply With Quote
  #3  
Old December 21st, 2008, 01:58 PM
JimMorrison's Avatar

JimMorrison JimMorrison is offline
Lieutenant General
 
Join Date: May 2008
Location: Utopia, Oregon
Posts: 2,676
Thanks: 83
Thanked 143 Times in 108 Posts
JimMorrison is on a distinguished road
Default Re: How is protection calculated?

Basically, the idea is that the better armored a creature already is, the less effective it is to pile armor onto their scaly/leathery/chitonous hide.

So the equation should look something like this I'm sure there is an easier way to express it, but I am still sleepy ): B + [A/40 * (40-B)]

Where B = Base Prot, and A = Armor Prot.

Thus in your example, what you get is: 10 + [18/40 * (40-10)]


Again, there has to be an easier way to write that, but it's escaping me atm. Basically you gain an amount of your Armor based on the ratio of Base/40. So as in the example with 10 Base, you will gain 75% of Armor, and if your base was 20, you would gain 50%.

Check your math! If that equation is working right for you, the answer is 23.5 (probably displaying as 24, but then you have to factor in Head Prot as well, which impacts Total Prot on a 4:1 ratio against Body Prot).
Reply With Quote
The Following User Says Thank You to JimMorrison For This Useful Post:
  #4  
Old December 21st, 2008, 03:37 PM
Gregstrom's Avatar

Gregstrom Gregstrom is offline
Major General
 
Join Date: Sep 2007
Location: Scotland
Posts: 2,066
Thanks: 109
Thanked 162 Times in 118 Posts
Gregstrom is on a distinguished road
Default Re: How is protection calculated?

AFAIK, the formula (from vfb's post here) is:

Protection = natural + armor - (natural * armor/40)

I couldn't swear the two formulae aren't the same, though.

Last edited by Gregstrom; December 21st, 2008 at 03:42 PM..
Reply With Quote
The Following User Says Thank You to Gregstrom For This Useful Post:
  #5  
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
  #6  
Old December 22nd, 2008, 10:38 AM
Kadelake's Avatar

Kadelake Kadelake is offline
Sergeant
 
Join Date: Nov 2007
Location: Sweden
Posts: 270
Thanks: 31
Thanked 25 Times in 6 Posts
Kadelake is on a distinguished road
Default Re: How is protection calculated?

What happens if you have several head or torso slots?
Reply With Quote
  #7  
Old December 22nd, 2008, 11:38 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: How is protection calculated?

If a unit has two heads and just one helmet, the head protection is halved.

Don't know about two body slots. It would probably be the same, but I'm not sure if anything has two of those. Maybe some Foul Spawn?
Reply With Quote
The Following User Says Thank You to Endoperez For This Useful Post:
  #8  
Old December 24th, 2008, 12:35 PM

Agema Agema is offline
First Lieutenant
 
Join Date: Aug 2007
Location: UK
Posts: 792
Thanks: 28
Thanked 45 Times in 31 Posts
Agema is on a distinguished road
Default Re: How is protection calculated?

Quote:
Originally Posted by JimMorrison View Post
So as in the example with 10 Base, you will gain 75% of Armor, and if your base was 20, you would gain 50%.
That's a good general rule to bear in mind to save number-crunching. Thanks.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 11:29 PM.


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