Commit Graph

7 Commits (master)

Author SHA1 Message Date
Ada Joule 12d2845018 Fix cards, negative amount, search from anywhere to location (#1475)
* Rename `MagicAmountParser.getX` to `getXSign`

* Fix bug in Deathgorge Scavenger

* Add `MagicAmount.getPositiveAmount`

* Use `getPositiveAmount` where appropriate

* Correct `getPositiveAmount(MagicEvent)`

* Fix sacrifice choice in Heart-Piercer Manticore

* Change `MagicSearchToLocationEvent` to search from anywhere instead of
just library

* Add missing `stream()` call

* Add executeEvent in Entrancing Melody

* Fix missing new

* Fix Search for Azcanta

* Remove getPositiveAmount special case

* Revert countEachProduct back

* Fix error in Search for Azcanta
2018-02-23 09:38:41 +08:00
melvinzhang 845f9fa349 merge PumpX into Pump, WeakenX into Weaken 2017-08-04 12:26:12 +08:00
melvinzhang e8afd417cd add ARG.EACH and method to convert each text to MagicAmount 2017-08-04 10:44:02 +08:00
melvinzhang c8f1262b45 remove trailing space from java code 2015-12-31 18:54:52 +08:00
melvinzhang 0aae0b224a only update if value is not constant wrt to event 2015-12-14 10:45:23 +08:00
melvinzhang e31f423586 include player in MagicAmount.getAmount 2015-05-19 13:16:02 +08:00
melvinzhang 1ac3a6edde introduce concept of MagicAmount to determine a number from a MagicSource and associated MagicAmountFactory and MagicAmountParser 2015-05-16 13:47:51 +08:00