summaryrefslogtreecommitdiff
path: root/rules.js
AgeCommit message (Collapse)Author
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
2023-02-18Don't allow withdrawing into enemy fortress under siege!Tor Andersson
2023-02-18Bug with Retroactive Foul Weather and withdrawing units into fort.Tor Andersson
2023-02-18Log which leaders are drawn.Tor Andersson
2023-02-18Make fort u/c removal more robust.Tor Andersson
2023-02-18Don't remove forts u/c until after any eventual battles.Tor Andersson
2023-02-18Remove unused function.Tor Andersson
2023-02-18Fix setting end year in Early War campaign.Tor Andersson
2023-02-18Handle case where force moving into space with lone leader retreat.Tor Andersson
If a force moves into a space with a lone leader and is intercepted and defeated, the lone leader must also retreat.
2023-02-18Fix off-by-one when picking up all forces.Tor Andersson
2023-02-18Oops.Tor Andersson
2023-02-18Fix overrun after retreating defenders.Tor Andersson
2023-02-18Confirm ending force designation with no units picked up.Tor Andersson