Commit Graph

28951 Commits (0e719be6b8f401a86b291856f8217648c34e69a5)

Author SHA1 Message Date
ShawnieBoy 0e719be6b8 update modern format legalities 2018-03-12 10:46:31 +00:00
Ada Joule e44d086554 Add Ascend mechanic to the game engine (#1486)
* Add MagicAbility.Ascend

* Add MagicPlayerState.CitysBlessing

* Add Ascend spell ability to MagicSpellCardEvent

* Add import

* Get rid of type name

* Add the city's blessing to MagicCondition

* Use doAction in Ascend spell card event

* Add import

* Add checking if player already has city's blessing

* Add AscendTrigger.java

* Add import

* Add AscendTrigger to Ascend ability

* Move AscendTrigger into OtherEntersBattlefieldTrigger.java

Creating a new instance of AscendTrigger would hog memory.

* Move ascend spell ability to MagicRuleEventAction

* Revert "Move AscendTrigger into OtherEntersBattlefieldTrigger.java"

This reverts commit 72fdf16e7ad13343ffe2b52458a28b22c2dd970c.

* Use single AscendTrigger instance

* Remove AscendTrigger, add MagicStatic.Ascend

* Remove PutStateTriggerOnStackAction from Ascend

* Add import

* Use source.getController() for ascending player
2018-03-04 08:52:08 +08:00
Ada Joule 967ac7aa34 Add Pharika's Snake token (#1492) 2018-03-02 09:40:25 +08:00
melvinzhang a996a5f956 fix missing closing parenthesis in groovy code 2018-03-01 21:35:04 +08:00
melvinzhang 6d0879620f remove extra permanent parameter, correct getRefPermanent to getPermanent 2018-03-01 21:08:25 +08:00
melvinzhang cc60842836 add release note for search from graveyard fix 2018-03-01 21:01:37 +08:00
melvinzhang f50060fcda add release note for Dash fix 2018-03-01 20:54:25 +08:00
melvinzhang da0cf460eb Dash should modify cost via getGameCost to account for cost modification, fixes #1479 2018-03-01 20:49:52 +08:00
melvinzhang bd763817b0 add release note for 1.92 2018-03-01 20:27:36 +08:00
melvinzhang 235faf014b use https in URL to get comprehensive rules 2018-03-01 20:25:59 +08:00
Ada Joule a145607208 Use ReturnCardAction instead of PlayCardAction in scripts (#1490)
- Conqueror's Galleon
- Siren's Ruse
2018-03-01 09:45:27 +08:00
melvinzhang 906b472571 remove CircleCI 1.0 config file, for #1489 2018-02-28 15:33:05 +08:00
melvinzhang 6ce2e6acab install zip in build env for building package zip files, for #1489 2018-02-28 13:09:33 +08:00
melvinzhang e720e6084a include 32bit support to run windres used by launch4j, for #1489 2018-02-28 11:46:43 +08:00
melvinzhang e360b40625 move artifacts to /tmp/artifacts and store it, for #1489 2018-02-28 10:16:39 +08:00
melvinzhang f359a1802d remove command to store artifacts as that is now configured in yml filem, for #1489 2018-02-28 10:12:00 +08:00
melvinzhang 28c2bf011f install ant into CircleCI build env, for #1489 2018-02-28 10:10:05 +08:00
melvinzhang e94ef7a4da add checkout step, for #1489 2018-02-28 10:08:22 +08:00
melvinzhang fd0dac3778 show contents of circleci directory for debugging, for #1489 2018-02-28 10:06:13 +08:00
melvinzhang f0e550e412 define working directory, for #1489 2018-02-28 10:01:28 +08:00
melvinzhang ebeaf2a2c1 switch image to openjdk:8 and install make, for #1489 2018-02-28 09:58:34 +08:00
melvinzhang e19d5725c4 rename test to build as CircleCI reports unable to find a job named 'build', for #1489 2018-02-28 09:43:36 +08:00
melvinzhang e3e22a029e add CircleCI 2.0 config file, for #1489 2018-02-28 09:42:10 +08:00
Ada Joule b5ca938732 Fix the name of Hostility's token (#1485) 2018-02-25 20:11:27 +08:00
Ada Joule 23f1a1cb95 Add MagicPlayer.getPositiveLife (#1478) 2018-02-24 09:04:31 +08:00
Ada Joule 7cb455ce3c Review and commit cards marked with tag "new cards" (#1476)
* Add Kalitas, Bloodchief of Ghet

* Add Purity

* Add black Vampire creature token for Kalitas

* Add Sorin, Solemn Visitor

* Fix Kalitas

* Add Pharika, God of Affliction

* Add Kiora, the Crashing Wave

* Remove additional land ability from Kiora__the_Crashing_Wave.txt

* Add Huatli, the Radiant Champion

* Add Hostility

* Edit code of Purity

* Add Woebringer Demon

* Add Vindictive Lich

* Remove extra parenthesis from Hostility

* Add Tyrannize

* Add Servant of the Scale

* Add Sekki, Seasons' Guide

* Fix Kalitas' token image

* Change graveyard checking condition in Kalitas
2018-02-23 09:40:16 +08:00
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
Ada Joule 636bcab645 Fix incorrect argument usage in Crown of Doom (#1477) 2018-02-23 09:34:30 +08:00
Sergio Lo Cascio 4ae6c46947 Updated italian translation to 1.90 version (#1463) 2018-02-15 11:53:45 +08:00
Ada Joule 0ad52d26dc Groovy code for Ixalan cards #1464
* Add Sanguine Sacrament

* Add Arguel's Blood Fast // Temple of Aclazotz

* Remove groovy ability from Temple_of_Aclazotz.txt

* Add Treasure Map // Treasure Cove

Also add MagicCounterType.Landmark

* Add label string

* Change landmark counter score to 1

* Fix wrong argument placement

* Add source argument to MagicPayManaCostEvent

* Add Settle the Wreckage

* Fix class casting in Sanguine Sacrament

* Add Siren Stormtamer

* Add Siren's Ruse

* Fix Siren Stormtamer

* Add Spell Swindle

* Add Sun-Blessed Mount

* Add Sunbird's Invocation

* Fix Sunbird's Invocation

* Revise event description

* Add Sword-Point Diplomacy

* Add Tishana, Voice of Thunder

* Fix wrong closure signature

* Add Vampire's Zeal

* Add Verdant Sun's Avatar

* Fix Temple of Aclazotz

* Add Search for Azcanta // Azcanta, the Sunken Ruin

* Fix Sunbird's Invocation

* Fix Aetherworks Marvel

* Fix Azcanta

* Fix missing parenthesis in Aetherworks Marvel
2018-02-15 11:52:24 +08:00
Ada Joule e1c73ed8ba Groovy code Ixalan cards #1425
* Add Angrath's Marauders

* Add Chart a Course

* Add Commune with Dinosaurs

* Add Conqueror_s_Galleon // Conqueror_s_Foothold

* Add trigger priority to Angrath's Marauders

* Use upto CardListChoice in Commune with Dinosaurs

* Add Deadeye Quartermaster

* Add Deathgorge Scavenger

* Add Entrancing Melody

* Use findAll to filter collection

* Correct Entrancing Melody

* Add missing parentheses

* Add missing new statement

* Add Fathom Fleet Cutthroat

* Add Field of Ruin

* Remove groovy ability from Field_of_Ruin.txt

* Add Firecannon Blast

* Add Fleet Swallower

* Fix static type checking in Field of Ruin

* Add event description in Field of Ruin

[ci skip]

* Add Grim Captain's Call

* Add Herald of Secret Streams

* Add Huatli's Spurring

* Add Action in Grim Captain's Call

* Add missing comma

* Add Kumena's Speaker

* Add Old-Growth Dryads

* Fix error

* Add Rowdy Crew

* Update Rowdy_Crew.txt

* Add Ruin Raider

* Fix typo

* Use getAPNAP() instead of getPlayers()

* Fix Firecannon Blast

* Use intdiv instead of / in Fleet Swallower

* Fix static type checking

* Fix Rowdy Crew

* Fix class name

* Fix Herald of Secret Streams
2018-02-08 17:25:20 +08:00
melvinzhang 3e1354d6a5 add Strength of the Pack 2018-02-08 10:22:02 +08:00
melvinzhang 9dae33e5b6 add Sun-Crested Pterodon 2018-02-08 10:21:48 +08:00
melvinzhang 0d3e4481ea add Sun-Collared Raptor 2018-02-08 10:21:19 +08:00
melvinzhang 5a6b910554 add Sworn Guardian 2018-02-08 10:21:01 +08:00
melvinzhang 86137a01aa add Swift Warden 2018-02-08 10:20:51 +08:00
melvinzhang b6ea8d1ccc add Vraska's Conquistador 2018-02-08 10:18:57 +08:00
melvinzhang dca65419d4 add Zetalpa, Primal Dawn 2018-02-08 10:17:43 +08:00
melvinzhang 2e406b1992 add Silverclad Ferocidons 2018-02-01 11:04:55 +08:00
melvinzhang e4122f183a add Seafloor Oracle 2018-02-01 11:04:41 +08:00
melvinzhang 0e72a84189 add River Darter 2018-02-01 11:04:33 +08:00
melvinzhang e2821f1882 add Thrashing Brontodon 2018-02-01 09:55:34 +08:00
melvinzhang 65e3855712 add Storm Fleet Sprinter 2018-02-01 09:55:27 +08:00
melvinzhang e39ec0b632 add Swaggering Corsair 2018-02-01 09:55:12 +08:00
melvinzhang 7883e9dcd2 add Siren Reaver 2018-02-01 09:55:00 +08:00
melvinzhang d8c81d70a2 add Sun Sentinel 2018-02-01 09:54:51 +08:00
melvinzhang bad265b072 add Vampire Revenant 2018-02-01 09:49:55 +08:00
melvinzhang 4bb7100b5a add Vampire Champion 2018-02-01 09:49:48 +08:00
melvinzhang a98ceed3ea add Trapjaw Tyrant 2018-02-01 09:49:40 +08:00
melvinzhang 3b56a11327 add Swab Goblin 2018-02-01 09:49:08 +08:00