|
|
Ghork
Tavern Dweller
|
posted October 18, 2009 11:02 PM |
|
|
Shooters
Hi, I'm making a simple program to calculate damage and skills in heroes II by entering what monster attacking what monster and your heroes stats and if they should retaliate.
I know its not necessary and its probably already been made, but I make it for fun...
now, I was wondering how it works with shooters... almost all of them seem to do half the damage in close combat but not titans and archmages... is there a way to know if they do half damage in closecombat? I understand how titans should do the same damage close and range...
also is it just the damage like 3-4 instead of 6-8 that is changed or is it the complete damage that halves, with attack and defense skill counted in? maybe it doesnt matter but anyway... sorry for long post xD
|
|
DIEGIS
Supreme Hero
power of Zamolxis
|
posted October 19, 2009 12:05 AM |
|
|
ru playing homm2?...i still love it. Pls keep me informed about the progress
____________
dacian falx behind you
-knowledge itself is power-
|
|
shyranis
Promising
Supreme Hero
|
posted October 19, 2009 12:51 AM |
|
|
I'm pretty sure it's normal shooting damage calculated first with the result cut by 50%
____________
Youtube has terminated my account without reason.
Please express why it should be reinstated on
Twitter.
|
|
ByteBandit
Promising
Famous Hero
Soul Merchant
|
posted October 19, 2009 01:29 AM |
|
|
Yeah, Shyranis, I think that's correct too.
____________
|
|
Ghork
Tavern Dweller
|
posted October 19, 2009 05:13 PM |
|
|
but how will I know if they do half damage in combat or not? do I have to check each?
|
|
Lexxan
Honorable
Undefeatable Hero
Unimpressed by your logic
|
posted October 19, 2009 08:41 PM |
|
|
Druids and Titans have no melee penalty. All the others have, iirc.
____________
Coincidence? I think not!!!!
|
|
Ghork
Tavern Dweller
|
posted October 19, 2009 09:18 PM |
|
|
druids do have melee penalty I tried them although archmages don't... but I dont think I need help with that anymore
|
|
Lexxan
Honorable
Undefeatable Hero
Unimpressed by your logic
|
posted October 19, 2009 09:44 PM |
|
|
Magi! I forgot about them!
____________
Coincidence? I think not!!!!
|
|
AlexSpl
Responsible
Supreme Hero
|
posted October 20, 2009 07:57 AM |
|
|
Don't forget that damage is calculated separately for each unit in a stack.
|
|
Ghork
Tavern Dweller
|
posted October 20, 2009 10:02 PM |
|
|
Quote: Don't forget that damage is calculated separately for each unit in a stack.
I don't get how you mean
if there's a group of 5 skeletons the damage would be 10-15
I don't have to think 2-3 + 2-3 + 2-3 + 2-3 + 2-3, thats the same thing... and I can't give an exact value...
|
|
Rainalcar
Promising
Famous Hero
Heroji su zakon
|
posted October 20, 2009 10:50 PM |
|
|
Base damage is damage displayed for every unit in its stats (e.g. 40-50 for a Black Dragon). For a stack of creatures it is calculated as such:
- If there are less then 10 creatures in a stack then a random integer is chosen in a damage range for each creature, and they are added up.
...
There is a greater chance that the damage will be closer to middle value, not to bother how big it is.
____________
|
|
AlexSpl
Responsible
Supreme Hero
|
posted October 21, 2009 12:54 PM |
|
|
I don't think that there is limitation of 10 units in HoMM II. But I am not sure. And yes, for 5 skeletons damage is something like this: 2 + 3 + 3 + 2 + 3 = 13.
|
|
|