-
October 03, 2013, 03:41 AM
#1
Laetus
A personal question to Jack Lusted about melee calculation
Hi. First of all sorry for my English, it's not my native language.
In kv_rukes we have:
melee_hit_chance_base
melee_hit_chance_min
melee_hit_chance_max
In land_units_stats we have:
melee_attack
melee_defence
The question is how this parameters used in melee calculation? I mean what is the formula? How you calculate hit chance?
Thanks.
-
October 03, 2013, 03:52 AM
#2
Re: A personal question to Jack Lusted about melee calculation
Hit_Chance = Clamp((melee_hit_chance_base - Fn(melee_defence) + Fn(melee_attack)), melee_hit_chance_min, melee_hit_chance_max); // Clamp(val, min, max);
-
October 03, 2013, 04:14 AM
#3
Laetus
Re: A personal question to Jack Lusted about melee calculation
And how looks functions Fn(melee_defence), Fn(melee_attack)?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules