summaryrefslogtreecommitdiff
path: root/rules.js
AgeCommit message (Collapse)Author
2023-05-16Disable retro foul weather masking when game is resigned.Tor Andersson
2023-05-12Don't allow raiding enemy Forts and Fortresses!Tor Andersson
2023-05-10Don't allow dropping off units while infiltrating!Tor Andersson
2023-05-03Register Draw result as Draw.Tor Andersson
2023-05-03Add missing check to lift sieges when intercepting.Tor Andersson
2023-05-03Support multiple raid markers in one space.Tor Andersson
2023-04-18Fix typo in "LB Squadrons" event check.Tor Andersson
Also check if LB/Halifax activation is possible with Campaign card.
2023-04-15Next instead of pass for battle events.Tor Andersson
2023-04-15Add explicit "End construction" button instead of pass/next.Tor Andersson
2023-04-15Don't activate forces in Halifax/Louisbourg if they can't do anything.Tor Andersson
Trying to move from Halifax without a 3 card, or siege with a subordinate in Louisbourg, etc.
2023-04-15Fix off-by-one in infiltration move termination check.Tor Andersson
2023-03-27Add different highlight for dangerous moves. Make colors clearer.Tor Andersson
Moves into spaces which will yield to the opponent are highlighted with an extra red inside border. Also change colors to be consistent: Yellow - action for both spaces and units Blue - selected unit White - highlight (both for tooltip and current battle/intercept space) Clearer blue and red colors for supply lines. RED
2023-03-26Reset "ambush" after battle (so it doesn't affect battles after overrun).Tor Andersson
2023-02-21Fix double pass and next buttons during battle events.Tor Andersson
There should be "pass" only.
2023-02-18Fix prompt message during massacre.Tor Andersson
2023-02-18Fix victory limit check for sudden death in 1761.Tor Andersson
2023-02-18Fix placing Amherst, Forbes, and Wolfe into pool twice!Tor Andersson
If William Pitt is played after 1758 when the scenario rules have already placed them into the pool, don't put them back in.
2023-02-18Remove stray debugging message.Tor Andersson
2023-02-18Fix typo in combat result table.Tor Andersson
2023-02-18Fix can go home typo preventing elimination of indians.Tor Andersson
2023-02-18Fix leader check typo.Tor Andersson
2023-02-18Space tool tips in log.Tor Andersson
2023-02-18Update common library.Tor Andersson
2023-02-18Oops! Supply lines do not radiate from water ways.Tor Andersson
2023-02-18Fix "within 2 of" list creation.Tor Andersson
2023-02-18Use set for supply cache.Tor Andersson
2023-02-18Use sets for reduced status and fortifications.Tor Andersson
2023-02-18Don't allow lone leaders to stack with enemy lone leaders.Tor Andersson
2023-02-18Fix case where retreating lone leader step was missed.Tor Andersson
Move the lone leader leader retreat check from end_move_step into the beginning of resume_move. This way, interrupting the end_move_step for "Massacre!" won't skip the leader retreats.
2023-02-18Fix bug with determining which battles are worth VP.Tor Andersson
Militia and Sorties should also count!
2023-02-18Add WBC tournament rules variant with 1-step MD units.Tor Andersson
2023-02-18Small Pox should count friendly units and eliminate all indians.Tor Andersson
2023-02-18Fix removing two 7 command leaders at once.Tor Andersson
2023-02-18Update RNG.Tor Andersson
2023-02-18Fix interaction with retroactive foul weather and massacre!Tor Andersson
2023-02-18Fix lint issues.Tor Andersson
2023-02-18Don't eliminate a stack leaving siege if Lake Schooner forces them back.Tor Andersson
2023-02-18Push undo state at "Siege or Move" questions.Tor Andersson
2023-02-18Retreat lone leaders who are left behind at a siege when moving out.Tor Andersson
2023-02-18Fix bug with Mohawks event.Tor Andersson
2023-02-18Tweak next prompt wording.Tor Andersson
Use "Pass" consistently for response event prompts. Use "Pass" when there are more stockades/forts to build.
2023-02-18Check supply lines for "can play" checks on events that restore units.Tor Andersson
2023-02-18Make sure attacker's deployed militia count as attacking pieces.Tor Andersson
2023-02-18Don't use JSON for undo.Tor Andersson
2023-02-18Optimize retroactive foul weather!Tor Andersson
There's only ever one foul weather state on the undo stack, so don't include the full foul weather state into the undo state.
2023-02-18Remove exports.ready function.Tor Andersson
2023-02-18Turn off retroactive foul weather logging.Tor Andersson
2023-02-18Clear undo when generating random number or control changes.Tor Andersson
2023-02-18Track "phasing" player so demolition can be done at any time.Tor Andersson
2023-02-18Zap semicolons.Tor Andersson