From 1b419a13e8837bb48bd766095d1aa215687ff390 Mon Sep 17 00:00:00 2001 From: Agetian Date: Fri, 26 Sep 2025 16:58:37 +0300 Subject: [PATCH] - Fix isWebSligned in Card. - Add puzzleds PS_SPM1 and PS_TLA1. --- .../src/main/java/forge/game/card/Card.java | 2 +- forge-gui/res/puzzle/PS_SPM1.pzl | 16 ++++++++++++++++ forge-gui/res/puzzle/PS_TLA1.pzl | 17 +++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 forge-gui/res/puzzle/PS_SPM1.pzl create mode 100644 forge-gui/res/puzzle/PS_TLA1.pzl diff --git a/forge-game/src/main/java/forge/game/card/Card.java b/forge-game/src/main/java/forge/game/card/Card.java index 776f9f6a0ae..37722d54e81 100644 --- a/forge-game/src/main/java/forge/game/card/Card.java +++ b/forge-game/src/main/java/forge/game/card/Card.java @@ -6861,7 +6861,7 @@ public class Card extends GameEntity implements Comparable, IHasSVars, ITr } public boolean isWebSlinged() { - return getCastSA() != null & getCastSA().isAlternativeCost(AlternativeCost.WebSlinging); + return getCastSA() != null && getCastSA().isAlternativeCost(AlternativeCost.WebSlinging); } public boolean isSpecialized() { diff --git a/forge-gui/res/puzzle/PS_SPM1.pzl b/forge-gui/res/puzzle/PS_SPM1.pzl new file mode 100644 index 00000000000..84014ec7896 --- /dev/null +++ b/forge-gui/res/puzzle/PS_SPM1.pzl @@ -0,0 +1,16 @@ +[metadata] +Name:Possibility Storm - Marvel's Spider-Man #01 +URL:https://i1.wp.com/www.possibilitystorm.com/wp-content/uploads/2025/09/latest-1-scaled.jpg?ssl=1 +Goal:Win +Turns:1 +Difficulty:Uncommon +Description:Win this turn. Ensure your solution satisfies all possible blocks. Good luck! +[state] +turn=1 +activeplayer=p0 +activephase=MAIN1 +p0life=20 +p0hand=Rhino, Barreling Brute;Spider-Man India;Daily Bugle Reporters;Become Brutes;Lurking Lizards +p0battlefield=Scarlet Spider, Ben Reilly;Spider Manifestation;Gene Pollinator;Forest;Forest;Forest;Plains;Plains;Kavaron, Memorial World|Counters:CHARGE=2 +p1life=14 +p1battlefield=Carnage, Crimson Chaos diff --git a/forge-gui/res/puzzle/PS_TLA1.pzl b/forge-gui/res/puzzle/PS_TLA1.pzl new file mode 100644 index 00000000000..63ccd26d299 --- /dev/null +++ b/forge-gui/res/puzzle/PS_TLA1.pzl @@ -0,0 +1,17 @@ +[metadata] +Name:Possibility Storm - Avatar the Last Airbender #01 +URL:https://i2.wp.com/www.possibilitystorm.com/wp-content/uploads/2025/08/latest-3-scaled.jpg?ssl=1 +Goal:Win +Turns:1 +Difficulty:Rare +Description:Win this turn. Your Forest is a 0/0 creature (with one +1/+1 counter on it.) Ensure your solution satisfies all blocks. Good luck! +[state] +turn=1 +activeplayer=p0 +activephase=MAIN1 +p0life=3 +p0hand=Jeong Jeong's Deserters;Earthbending Student;Bulk Up;How to Start a Riot +p0battlefield=Haru, Hidden Talent;Garruk's Uprising;Forest|Id:1;Forgotten Monument;Forgotten Monument;Forgotten Monument;Restless Ridgeline;Cavernous Maw +p1life=11 +p1battlefield=Vindictive Warden;Vindictive Warden +p0precast=Haru, Hidden Talent:TrigEarthbend->1