summaryrefslogtreecommitdiff
path: root/rules.js
AgeCommit message (Collapse)Author
2024-01-21Acadians Expelled: Amphib is enough to prevent units from being placed.Tor Andersson
2023-12-24Automatic resign menu.Tor Andersson
2023-10-10Prompt for Coehorns in defense during assault.Tor Andersson
2023-10-09Allow eliminating Cherokee instead of going home with leader.Tor Andersson
2023-10-09Change some forEach to for of.Tor Andersson
2023-09-22Don't try to change immutable 'options' object.Tor Andersson
2023-09-17Allow Massacre after capturing stockade space.Tor Andersson
... even if destroying the stockade due to battle.
2023-07-02New undo functions.Tor Andersson
Can handle supply queries during replay without crashing on clear undo.
2023-06-17Fix bugs involving Intercept + Avoid Battle interactions.Tor Andersson
The limitation on avoiding after intercepting does not apply to leaders. Fix bug with picking up units that attempted an intercept for avoiding.
2023-06-03Don't remove Fieldworks when winning an Assault.Tor Andersson
2023-05-20Fix crash when activating 0 leaders/units individually.Tor Andersson
2023-05-19Handle corner cases with Surrender and no available destinations.Tor Andersson
Allow Louisbourg as a last resort. Eliminate otherwise.
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