diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-10-26 20:51:34 +0200 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-10-26 20:51:34 +0200 |
commit | cf98c24a0633fddd953dc278087bc58132d8e554 (patch) | |
tree | 098201b8c1c9df5142ef8003495b275779a61684 /rules.js | |
parent | 644292ba59a7338b22ee6bb11552178c79aadc84 (diff) | |
download | algeria-cf98c24a0633fddd953dc278087bc58132d8e554.tar.gz |
write out MST and CRT. Fix: Shouldn't airmobilize units in OC
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -591,7 +591,7 @@ function is_algerian_unit(u) { } function can_airmobilize_unit(u) { - return !is_unit_airmobile(u) && ([FR_X, EL_X, AL_X].includes(unit_type(u))) + return !is_unit_airmobile(u) && ([FR_X, EL_X, AL_X].includes(unit_type(u))) && [OPS, PTL].includes(unit_box(u)) } function is_division_unit(u) { @@ -5241,7 +5241,7 @@ function roll_mst(roll) { let effect_str = '' if (effect === '+') effect_str = ' (bad)' if (effect === '@') effect_str = ' (good)' - log(`MST: ${result}${effect}${effect_str}`) + log(`Mission Result ${result}${effect}${effect_str}`) return [result, effect] } @@ -5268,7 +5268,7 @@ function combat_result(firepower, die) { function roll_crt(firepower) { let roll = roll_1d6() let result = combat_result(firepower, roll) - log(`CRT: ${result}`) + log(`Combat Result ${result}`) return result } |