[WOE] Implement Devouring Sugarmaw (#10969)

* [WOE] Implement Devouring Sugarmaw

* fix adventure cost

---------

Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
This commit is contained in:
Susucre 2023-08-24 02:38:26 +02:00 committed by GitHub
parent a756529e05
commit c047829614
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 83 additions and 3 deletions

View file

@ -160,9 +160,8 @@ public class DoIfCostPaid extends OneShotEffect {
return staticText;
}
return (optional ? "you may " : "")
+ CardUtil.addCostVerb(cost.getText())
+ ". If you do, "
+ executingEffects.getText(mode)
+ CardUtil.addCostVerb(cost.getText()) + "."
+ (!executingEffects.isEmpty() ? " If you do, " + executingEffects.getText(mode) : "")
+ (!otherwiseEffects.isEmpty() ? " If you don't, " + otherwiseEffects.getText(mode) : "");
}