From aa39ea89932cd23e1cc93225a59570343eb72439 Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Fri, 6 Oct 2023 21:44:41 +0200 Subject: final psl adjustment WIP --- info/rules.html | 8 ++++---- rules.js | 10 +++++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/info/rules.html b/info/rules.html index 96595aa..d557210 100644 --- a/info/rules.html +++ b/info/rules.html @@ -642,8 +642,8 @@ up). If the FLN unit(s) survived the return fire, place it in the Operations Completed (OC) box.

Note that one or both player's PSLs will be affected by units being hit, reduced or eliminated; see - the PSL Adjustments Summary. Also note that Government units are never eliminated, only potentially - Neutralized.

+ the PSL Adjustments Summary. + Also note that Government units are never eliminated, only potentially Neutralized.

9.2 GOVERNMENT PLAYER MISSIONS @@ -870,8 +870,8 @@

First, the Government player must check for a coup d'etat if his PSL is less than 30 - (see 11.3). Then both sides adjust their PSL as directed in the PSL Adjustment Summary for - this Phase. + (see 11.4). Then both sides adjust their PSL as directed in the PSL Adjustments Summary + for this Phase.

11. SPECIAL RULES diff --git a/rules.js b/rules.js index 5cb160d..d26a47c 100644 --- a/rules.js +++ b/rules.js @@ -2718,6 +2718,14 @@ function unit_redeployment() { log(`Air Avail = ${game.air_avail}, Helo Avail = ${game.helo_avail}`) } +function final_psl_adjustment() { + log_h3("Final PSL Adjustment. TODO") + + if (game.gov_psl < 30) { + log("Check for Coup d'etat TODO") + } +} + function goto_turn_interphase() { // clear_undo() game.active = BOTH @@ -2733,7 +2741,7 @@ function goto_turn_interphase() { unit_and_area_recovery() unit_redeployment() - // log_h3("Final PSL Adjustment") + final_psl_adjustment() } states.turn_interphase = { -- cgit v1.2.3