Commit Graph

9081 Commits

Author SHA1 Message Date
Christian 'ketura' McCarty
7e3764b61a Fixed The Tale of the Great Ring failing to prevent overwhelm if the hobbit's strength is reduced to 0. 2025-03-30 16:20:31 -05:00
Christian 'ketura' McCarty
b0aac19d1d Skirmish Resolution Overhaul
- Overhauled the skirmish resolution code to involve far less repetitive copy-pasted code.  Eliminated code that emitted a "skirmish lost" trigger for characters removed early from a skirmish (this behavior was superceded in a later CRD)
- Consolidated the separate SkirmishType enums instead of having a separate enum for Overwhelm and Normal skirmish types (that had the exact same contents)
- Fixed Dwarven Axe (and any other "skirmish loss" triggers) incorrectly triggering on a character that has been removed from a skirmish before it resolves.
2025-03-30 14:19:15 -05:00
Christian 'ketura' McCarty
0cc87234b7 Fixed the log messages for normal skirmish evaluations being flipped for freeps/shadow 2025-03-30 12:18:35 -05:00
Christian 'ketura' McCarty
4f7408cc9c Fixing daily and ad-hoc tournaments not properly requiring decks to be provided 2025-03-28 09:00:00 -05:00
Christian 'ketura' McCarty
af385a7309 Query for pulling starter usage statistics from the sealed masters events 2025-03-28 08:47:41 -05:00
Christian 'ketura' McCarty
932d929b82 Fixed PC-Movie format not having the Rohan culture filter in the deckbuilder. 2025-03-26 00:07:32 -05:00
Christian 'ketura' McCarty
cfee379a91 Restored flag on play-from-deck effects so that "play from your draw deck or discard pile" actions don't present a false option to the player. Hopefully? Fixed Theoden, Tall and Proud sometimes not triggering. 2025-03-25 05:35:58 -05:00
Christian 'ketura' McCarty
7c6d77a01f Fixed Eowyn, Northwoman and Into the Caves never being usable. 2025-03-24 08:28:44 -05:00
Christian 'ketura' McCarty
905093a5ac Fixing V2 sites not showing up under Towers Block for PC-Movie in the deckbuilder 2025-03-24 00:13:00 -05:00
Christian McCarty
1be83758ce Merge pull request #564 from PlayersCouncil/bug/march-bugs
Yet even more card bug fixes
2025-03-23 23:25:28 -05:00
Christian 'ketura' McCarty
6b329bad11 Reinstated automatic English translation on hover-over for tengwar, as an official feature now instead of an accident that stopped working. 2025-03-23 21:10:32 -05:00
Christian 'ketura' McCarty
6fd2daf4d7 Fixed site block filter not showing errata in PC-Movie 2025-03-23 18:42:59 -05:00
Christian 'ketura' McCarty
123dc2e6cf Improving skirmish log message specificity 2025-03-23 18:41:26 -05:00
Christian 'ketura' McCarty
e3d3ce6843 Helpless errata, Pale Blade, Band of Wild Men unit tests 2025-03-23 18:39:34 -05:00
Christian 'ketura' McCarty
75818746f6 Fixed old V1 Gimli MW ID being issued in PC packs 2025-03-23 17:18:29 -05:00
Christian 'ketura' McCarty
fd36d7834c Unit Tests for The Witch-king's Beast 2025-03-23 14:31:25 -05:00
Christian 'ketura' McCarty
f3cc6f136e Adding unit tests for Band of Wild Men, confirming #516 isn't a bug. 2025-03-23 14:24:39 -05:00
Christian 'ketura' McCarty
0be506baa7 Fixed Crashed Gate causing a crash.
- Added SiteAvailableToControl requirement that checks that there is a valid controllable site to be targeted by site control actions.
- Altered site control checking to use a shared GameUtils function for that purpose
- Fixed HasMemory throwing an exception when the given memory location didn't exist (d'oh)
2025-03-23 13:55:54 -05:00
Christian McCarty
88fe1705a2 Merge pull request #558 from PlayersCouncil/bug/march-bugs
Bug/march bugs
2025-03-23 00:33:28 -05:00
Christian 'ketura' McCarty
1732427f2b Fixed Blood Has Been Spilled being unusable. 2025-03-22 21:38:19 -05:00
Christian 'ketura' McCarty
7d36c436e0 Fixed Trample not communicating which companion is to be discarded. 2025-03-22 21:10:17 -05:00
Christian 'ketura' McCarty
d598486f91 Reinstating the ChooseOpponent effect type
- Reinstated ChooseOpponent and ChooseOpponentEffect (these really shouldn't have been deleted in the first place, as they will be crucial once multiplayer is worked on)
- Renamed HasInMemory -> HasCardInMemory
- Added HasMemory effect for checking whether anything has been saved to a given memory key
- Fixed Crashed Gate auto-adding threats if no site can be controlled
- Added missing Hunter keyword to the previous Elven Guardian fix unit tests
2025-03-22 20:50:03 -05:00
Christian 'ketura' McCarty
0580fa4da6 Fixed DiscardFromPlay effects not defining the correct performing player 2025-03-22 18:19:12 -05:00
Christian 'ketura' McCarty
1db9963a31 Fixed Elven Guardian PC Errata not having the Hunter 1 keyword. 2025-03-22 16:14:25 -05:00
Christian 'ketura' McCarty
7f469f7579 Fixed RemoveTokensCumulative not having a generic "any token" option. Fixed Corsair Freebooter not triggering on play. 2025-03-22 16:08:49 -05:00
Christian 'ketura' McCarty
da90aab1e4 Unit tests for Above the Battlement 2025-03-22 15:26:22 -05:00
Christian 'ketura' McCarty
834261e163 Renaming unit test functions to match naming convention 2025-03-22 15:17:42 -05:00
Christian 'ketura' McCarty
bf4a6868a3 Fixed Harmless highlighting itself even when it's already been transferred to a companion. 2025-03-22 13:35:18 -05:00
Christian 'ketura' McCarty
be2d469b00 V2 Balrog fixes
- Altered the UsesSpecialAbility trigger to take a player, which is more robust than using a side filter (as it isn't thwarted by the One Ring or sites)
- This required adding performing player parameters to a number of levels on the effect
- Added unit tests for the V2 Balrog
2025-03-22 13:31:24 -05:00
Christian 'ketura' McCarty
b2f77d2ff4 Fixing ChooseANumber
- Adding log message output to indicate what numbers are being chosen
- Fixed PrintedTwilightCostFromMemory not extracting the stored number from memory
- Fixed Gathering Wind not working.
2025-03-22 11:17:33 -05:00
Christian 'ketura' McCarty
552171449e Fixed Attunement not revealing the cards to players. 2025-03-22 01:02:16 -05:00
Christian McCarty
bbde37fbae Merge pull request #557 from PlayersCouncil/bug/march-bugs
More card fixes
2025-03-21 22:30:58 -05:00
Christian 'ketura' McCarty
4f9584853a Fixed the various versions of Cavern Entrance blocking the use of events that self-play from the discard pile. 2025-03-21 22:24:42 -05:00
Christian 'ketura' McCarty
87c490256d Added absolute value coercer. Fixed Treebeard, Enraged Shephard causing a game crash when winning against Enquea TOTO. 2025-03-21 22:18:06 -05:00
Christian 'ketura' McCarty
3cb492657f Fixed Din of Arms executing the second part of its game text if the top card could not be discard (due to e.g. Courteous Halfing). 2025-03-21 21:39:03 -05:00
Christian 'ketura' McCarty
f6b668c8b8 Fixed Ulaire Attea, Second of the Nine Riders not restricting itself to only fierce skirmishes. 2025-03-21 21:34:11 -05:00
Christian 'ketura' McCarty
3bf3d774ee Moved the skirmish about to end trigger to before skirmish resolution, which should fix certain skirmish responses getting swalled by overwhelm results. As a result, fixed Sting, Bane of the Eight Legs (and others) not triggering during an overwhelm. 2025-03-21 21:33:47 -05:00
Christian 'ketura' McCarty
c1c4b5204e Added unit tests for Pinnacle of Zirak-zigal 2025-03-21 20:58:08 -05:00
Christian 'ketura' McCarty
86037ffa05 Added OwnerControls filter for better handling of sites like Nurn. Fixed Nurn affecting both player's minions. 2025-03-21 19:58:08 -05:00
Christian 'ketura' McCarty
713c8f4bc0 Added custom text to make the two options on V1 Library of Rivendell easier to distinguish. 2025-03-20 19:29:30 -05:00
Christian 'ketura' McCarty
5ec3d78c3f Fixed Ride With Me failing if Theoden was unable to be exerted. 2025-03-20 19:14:11 -05:00
Christian 'ketura' McCarty
c525d67917 Fixed add/remove culture token triggers having the source and target filters reversed. Fixes V2 Now for Ruin failing to trigger when its tokens are reinforced. 2025-03-20 19:07:46 -05:00
Christian 'ketura' McCarty
208f9fc0bb Fixed Palantir of Orthanc, Seveth Seeing-stone failing to place cards on the bottom of the deck if it was the opponent's deck. 2025-03-20 18:33:50 -05:00
Christian 'ketura' McCarty
5bd3ec8dff Fixed V2 Sirannon Dam ability not replacing a tentacle with the Watcher properly. 2025-03-20 18:07:32 -05:00
Christian 'ketura' McCarty
d55418f1d4 Fixed Southron Archer Legion not restricting itself to the +4 limit. 2025-03-20 17:02:57 -05:00
Christian 'ketura' McCarty
97d202d6c6 Fixing Resistance Becomes Unbearable not working when the Ring-bearer was already exhausted at time of play. 2025-03-20 14:22:25 -05:00
Christian 'ketura' McCarty
cdd0a472d7 Unit tests for Great Day, Great Hour. 2025-03-20 13:59:29 -05:00
Christian McCarty
0a89f5e5dc Merge pull request #550 from PlayersCouncil/bug/march-bugs
Card Fixes
2025-03-20 00:19:00 -05:00
Christian 'ketura' McCarty
531a54fb81 Fixing Beyond the Height of Men fix 2025-03-19 23:55:45 -05:00
Christian 'ketura' McCarty
c4d919ca36 Merge branch 'master' into bug/march-bugs 2025-03-19 23:50:01 -05:00