Home
last modified time | relevance | path

Searched refs:attackCoefficient (Results 1 – 2 of 2) sorted by relevance

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bladerunner/
H A Dactor_combat.cpp239 int attackCoefficient = 0; in hitAttempt() local
241 attackCoefficient = _rangedAttack ? getCoefficientRangedAttack() : 0; in hitAttempt()
243 attackCoefficient = getCoefficientCloseAttack(); in hitAttempt()
246 if (attackCoefficient == 0) { in hitAttempt()
252 if (random <= attackCoefficient) { in hitAttempt()
266 damage = getDamageRangedAttack(random, attackCoefficient); in hitAttempt()
268 damage = getDamageCloseAttack(random, attackCoefficient); in hitAttempt()
/dports/games/scummvm/scummvm-2.5.1/engines/bladerunner/
H A Dactor_combat.cpp241 int attackCoefficient = 0; in hitAttempt() local
243 attackCoefficient = _rangedAttack ? getCoefficientRangedAttack() : 0; in hitAttempt()
245 attackCoefficient = getCoefficientCloseAttack(); in hitAttempt()
248 if (attackCoefficient == 0) { in hitAttempt()
254 if (random <= attackCoefficient) { in hitAttempt()
268 damage = getDamageRangedAttack(random, attackCoefficient); in hitAttempt()
270 damage = getDamageCloseAttack(random, attackCoefficient); in hitAttempt()