.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Army Buffs (http://forum.shrapnelgames.com/showthread.php?t=34392)

BigJMoney May 2nd, 2007 07:05 PM

Re: Army Buffs
 
Basically, I was thinking the casting of regeneration should be based on hit points rather than number of units. And it should be slightly skewed toward larger hp individuals.

<font color="blue">HPs * (HP-1)/HP</font>

HPs = total hitpoints of squad
HP = hitpoints of average unit in squad

An example would be 10 burning ones:
(10 burning ones * 23 hitpoints) * 22/23
230 * .957 = <font color="white">220.11</font>

Compare this to 23 Militia:
(23 militia * 10 hitpoints) * 9/10
230 * .900 = <font color="white">207.00</font>

...you can see that the spell prefers to regenerate the burning ones. If you wanted to skew it even more towards high HP units, you could use: <font color="blue"> HPs * sqrt/HP </font>

=$=

Manuk May 2nd, 2007 07:55 PM

Re: Army Buffs
 
I think that also, bigjmoney. But there's a specific system for each spell or a general casting preference?
I know that curse, horror mark and in fact any individual harmful spell is targeted for the biggest enemy unit but for friendly units I completely ignore how is.
I suspect that is the same way for avery spell.


All times are GMT -4. The time now is 04:35 AM.

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