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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #11  
Old November 6th, 2008, 04:43 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: E9n9 Bless

And in This Thread, we get:

Quote:
Originally Posted by PhilD View Post
Back in Dom2, there was a "diminishing returns" protection formula, where protection values didn't exactly add up together. Putting, say, a 10 prot. armor on a creature with a 10 natural prot. didn't result in 20 prot, but something lower.

IIRC (but it's highly likely that I don't remember it 100% correctly), the formula was something like

FinalProt = 40 - (40-ProtA)*(40-ProtB)/40

That is, count a protection of 40 as "maximum", and, say, protection of 10 as "25% protection"; then protection values don't add, rather the "unprotected" percentages are multiplied.

Thus, a natural protection of 10 lets 75% go through, and an armor protection of 20 lets 50% go through - so adding the two together would let 37.5% go through, resulting in a protection of 62.5% of 40, that is, 25.

Now, I don't know how bonuses to protections would be taken into account with this formula, or even if it was completely correct, or if it could explain what you observed in Dom3...
Reply With Quote
  #12  
Old November 6th, 2008, 05:01 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: E9n9 Bless

I think PhilD's formula could come out as:
40 -( 40 * ( ( ((40-Natural Prot) /40)) * ( (40-Armour Prot)/40) ))

For 5 base and 10 armour (as per chrispedersen's example), that's

40 - ( 40 * ( (35/40) * (30/40) ) ) = 13.75

After making an Excel spreadsheet do the calculating:

5 base and 14 armour is 17.25

7 base and 14 armour is 18.55

20 base and 0 armour is 20

0 base and 20 armour is also 20


This seems pretty close to values in the game.

Last edited by Gregstrom; November 6th, 2008 at 05:04 PM..
Reply With Quote
The Following User Says Thank You to Gregstrom For This Useful Post:
  #13  
Old November 6th, 2008, 05:37 PM
vfb's Avatar

vfb vfb is offline
General
 
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
vfb is on a distinguished road
Default Re: E9n9 Bless

Thanks!

The formula can also be expressed as:

Protection = natural + armor - (natural * armor/40)
__________________
Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php?
Reply With Quote
The Following User Says Thank You to vfb For This Useful Post:
  #14  
Old November 6th, 2008, 05:45 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: E9n9 Bless

Woohoo! Just when they're needed, someone who can simplify an equation turns up!
Reply With Quote
  #15  
Old November 7th, 2008, 05:49 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: E9n9 Bless

Quote:
Originally Posted by vfb View Post
Thanks!

The formula can also be expressed as:

Protection = natural + armor - (natural * armor/40)
Yes. That's where the original formula that Chris cited ("Prot = BaseProt + ArmorProt * (1 - BaseProt/40).") comes from.

If you want a way to visualize this, imagine that Base Prot and Armor Prot are two dimensions of a protection "square" with sidelength 40, and the total Prot is the proportion of total area covered (times 40). So if you have Base Prot 20 and Armor Prot 20, you wind up with

Code:
  Base Prot ->                          40
A ****************************************
r ****************************************
m ****************************************
o ****************************************
r ****************************************
  ****************************************
P ****************************************
r ****************************************
o ****************************************
t ****************************************
  ********************--------------------
| ********************--------------------
V ********************--------------------
  ********************--------------------
  ********************--------------------
  ********************--------------------
  ********************--------------------
  ********************--------------------
4 ********************--------------------
0 ********************--------------------
Thus, you get 3/4 of 40 prot, which is Prot 30. If one dimension is half full, you only get half the benefit from the other dimension because half of it is already covered.

Thus, armor should be a low priority for an E10 Cyclops because it's very hard to raise total Prot significantly. And E9 does not combine as well with Berserk as you might hope, because they act on different forms of Prot.

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

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

Last edited by MaxWilson; November 7th, 2008 at 05:57 PM..
Reply With Quote
Reply

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 03:00 PM.


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