.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 $8.00

   







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

Reply
 
Thread Tools Display Modes
  #11  
Old May 2nd, 2007, 07:05 PM
BigJMoney's Avatar

BigJMoney BigJMoney is offline
Second Lieutenant
 
Join Date: Sep 2005
Location: North Carolina, USA
Posts: 403
Thanks: 0
Thanked 0 Times in 0 Posts
BigJMoney is on a distinguished road
Default 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.

HPs * (HP-1)/HP

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 = 220.11

Compare this to 23 Militia:
(23 militia * 10 hitpoints) * 9/10
230 * .900 = 207.00

...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: HPs * sqrt/HP

=$=
__________________
Reply With Quote
  #12  
Old May 2nd, 2007, 07:55 PM
Manuk's Avatar

Manuk Manuk is offline
Second Lieutenant
 
Join Date: Aug 2004
Location: Argentina
Posts: 478
Thanks: 0
Thanked 0 Times in 0 Posts
Manuk is on a distinguished road
Default 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.
__________________
" Jefe, le presento a Manuk, el hombre de la sonrisa de hierro "
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 12:15 PM.


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