The gift cards of BLB/BLC (#5712)

* Add files via upload

* Fix gift check so it works before paying

* Update into_the_flood_maw.txt

* Update longstalk_brawl.txt

* Update mind_spiral.txt

* Update octomancer.txt

* Update parting_gust.txt

* Update sazacaps_brew.txt

* Update starforged_sword.txt

* Update parting_gust.txt

* Update scrapshooter.txt

* Update starfall_invocation.txt

* Update starforged_sword.txt

* Update coiling_rebirth.txt

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
Co-authored-by: tool4ever <therealtoolkit@hotmail.com>
This commit is contained in:
Fulgur14
2024-07-29 07:04:38 +02:00
committed by GitHub
parent 95b93e1c37
commit a38d8cc733
24 changed files with 216 additions and 1 deletions

View File

@@ -1881,7 +1881,10 @@ public class CardProperty {
return card.getCastSA().isEvoke();
} else if (property.equals("PromisedGift")) {
// Do we need this isUnlinked thing like these others?
return card.hasPromisedGift();
if (card.getCastSA() == null) {
return false;
}
return card.getCastSA().isOptionalCostPaid(OptionalCost.PromiseGift);
} else if (property.equals("impended")) {
if (card.getCastSA() == null) {
return false;