summaryrefslogtreecommitdiff
path: root/rules.js
AgeCommit message (Collapse)Author
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
2023-02-18Show deck size when hovering over played card.Tor Andersson
2023-02-18Fix bug with automatically evading auxiliaries.Tor Andersson
2023-02-18Western Indian Alliance needs a friendly fort at Ohio Forks.Tor Andersson
Fix copy & paste error from Northern Indian Alliance.
2023-02-18End retreating with all if there are no more destinations available.Tor Andersson
2023-02-18Fix passing for season/card with retroactive foul weather.Tor Andersson
2023-02-18Set up retreat state for retreat_attacker even when no units survived.Tor Andersson
2023-02-18Add "pass for rest of season/action" response buttons.Tor Andersson
Update aliases after loading of all states.
2023-02-18Don't allow picking up activated forces!Tor Andersson
2023-02-18Cannot place French Regulars at Louisbourg if there's an amphib.Tor Andersson
2023-02-18Fix error where goto_retroactive_foul_weather was called twice in ampphib.Tor Andersson