Commit Graph

1775 Commits

Author SHA1 Message Date
jendave
d6387ae9eb Fixed a couple bugs with calculating X in doDrawback. 2011-08-06 05:55:51 +00:00
jendave
9bfa17bfa4 - This may fix the error with the new SVars. 2011-08-06 05:55:46 +00:00
jendave
d78f9a5a56 - Added Aragorn 2 a WBRG Landfall deck.
- Added AntiBuffedBy to two more cards.
2011-08-06 05:55:41 +00:00
jendave
488776cdf3 - Undiscovered Paradise will now return to computer's hand when tapped for mana.
- Fixed a syntax error in card.java.
2011-08-06 05:55:33 +00:00
jendave
62f7a58673 Added SVar:BuffedBy, SVar:AntiBuffedBy and SVar:PlayMain1:TRUE
to some more cards.
2011-08-06 05:55:27 +00:00
jendave
b349f14ce5 - Added SVar AntiBuffedby to be used on permanents the human controls to make the AI play certain cards in Main1.
- Added AntiBuffedby SVar to Timid Drake.
2011-08-06 05:55:23 +00:00
jendave
c02500a787 - Updated the R2D2 3 deck
- Removed SVar:RemAIDeck:True from Hymn To Tourach.
2011-08-06 05:55:17 +00:00
jendave
2fa3b8421b Updated the following decks: Napoleon 3, Rogue 3 and Rocky 1-3. 2011-08-06 05:55:11 +00:00
jendave
222f2c773a Added Dragon Tyrant, Chaosphere, Dense Canopy and Seething Pathblazer. 2011-08-06 05:55:04 +00:00
jendave
006b5f2eaa Temporarily reverted code for reading the draft rarities from the draft folder. 2011-08-06 05:54:59 +00:00
jendave
6cf4daf60a - Added BuffedBy SVars to some Cards with the whenever keyword and the staticeffect keyword. 2011-08-06 05:54:54 +00:00
jendave
3bdaa07d0a - Made AI Landdrops in Main1 possible
- Added BuffedBy SVars to Vinelasher Kudzu and the Landfall cards that need it (not all do).
2011-08-06 05:54:50 +00:00
jendave
558f67866d Added BuffedBy SVars to the Cohorts and Blades. 2011-08-06 05:54:44 +00:00
jendave
7199958eb6 Added BuffedBy SVars to the Mimics, Hatchlings, Duos and Fable of Wolf and Owl. 2011-08-06 05:54:39 +00:00
jendave
d847dc194c - Added the options Card, Spell and Permanent to the BuffedBy SVar. 2011-08-06 05:54:34 +00:00
jendave
097bb2d517 - Added SVar Buffedby to be used on permanents which need other cards to be played in Main1.
- Added isValidCard to Cards.java.
- Changed getValidCard to use isValidCard to keep everything in one place.
2011-08-06 05:54:29 +00:00
jendave
f5689f4282 - Minor fix to card.getText() Madness for loop. 2011-08-06 05:54:23 +00:00
jendave
1659a70f0f - Updated Comic Book Guy 3, Egg omelet flambé and the deck listing. 2011-08-06 05:54:18 +00:00
jendave
fa2fa885c9 - Lined up the opponent deck listing and added Mr Slate 2 to the list. 2011-08-06 05:54:11 +00:00
jendave
274296ea47 Updated the decks Magnum 1-3. 2011-08-06 05:54:06 +00:00
jendave
4f0f0c262c - Added LQ pic url for Dark Offering. 2011-08-06 05:53:59 +00:00
jendave
14697f5877 - Added SubCounter<counterType/counterAmount> to Ability_Cost and appropriately pay for it in correct locations.
- Minor checks for Cost_Payment requirements
Note: SubCounter is not in any cards.txt yet, but has been tested with cards locally.
Ex. Triskelion's ability would be: abDamageTgtCP SubCounter<P1P1/1>:1
2011-08-06 05:53:55 +00:00
jendave
dcdf12f4e2 - Ran MigratedCardsScript.py on cards.txt to update rarity and pictures.
- dark offering was unable to find a picture
2011-08-06 05:53:48 +00:00
jendave
5a2c99ef5a - Fixed the spDiscardTgt bug. 2011-08-06 05:53:43 +00:00
jendave
c00be0a9b7 Updated the following decks: George of the Jungle 2,3 and Joe Kidd 1-3. 2011-08-06 05:53:38 +00:00
jendave
ea9ac7bc23 - Added a medium version of the Mr Slate deck.
- Updated the following decks: Galahad 1-3, King Edward 3 and Mr Slate 3.
2011-08-06 05:53:31 +00:00
jendave
96be0e92cf - Fixed the cards.txt bug with Devour in Shadow and Divine Offering. 2011-08-06 05:53:23 +00:00
jendave
919ed48e72 - Updated the Boba Fett 3 deck. 2011-08-06 05:53:18 +00:00
jendave
808811e80d Updated the Darth Vador 3 deck. 2011-08-06 05:53:13 +00:00
jendave
04818fe84a - Added an easy and a medium version of the C3PO Goblin deck.
- Updated the following decks: Abraham Lincoln 3, Bart Simpson 1, Bart Simpson 2, Bart Simpson 3, Bela Lugosi 3, Blackbeard 3 and C3PO 3.
2011-08-06 05:53:06 +00:00
jendave
a0b492e552 - Added Metathran Elite, Thran Golem, Allay and Stormcaller's Boon.
- Added SVar:PlayMain1:TRUE and SVar:RemAIDeck:True to some cards.
2011-08-06 05:52:55 +00:00
jendave
627877b438 - Converted Guan Yu's 1,000-Li March to keyword. 2011-08-06 05:52:50 +00:00
jendave
319660c7d8 - Converted these destroy target spells to the spDestroyTgt keyword: Crumble; Devour in Shadow; Divine Offering. 2011-08-06 05:52:44 +00:00
jendave
24c8a991bd - Added the new spDestroyTgt spells with Drawback. 2011-08-06 05:52:37 +00:00
jendave
88b23cc038 - Added Cost_Payment.java to go through Ability_Cost and pay each Cost in turn. This is enabled in three keywords: abDamage, abPump, and abAllPump.
- Simplified the ability generation of these keywords by removing the need for Ability_Tap. 
- The AI also uses the same structure to pay for things for these keywords. If available, it will pay in payComputerCosts() in Cost_Payment.
- Sacrifice Costs are still disabled for the AI until better code is written for sacrifice decisions. Currently, it attempts to sacrifice everything available to it.
Note: If you want to see the AI sacrificing glory, comment out "if (abCost.getSacCost()) return false;" in the keyword canPlayAI()
2011-08-06 05:52:32 +00:00
jendave
2dca493305 - Added Cumber Stone
- Converted Capsize to keyword.
2011-08-06 05:52:21 +00:00
jendave
44ac9b9737 - Converted these mass destroy spells to the spDestroyAll keyword: Planar Cleansing; Soulscour. 2011-08-06 05:52:15 +00:00
jendave
92c6ba5db0 - Converted these mass destruction spells to the spDestroyAll keyword: Back to Nature; Cleanfall; Hush; Tempest of Light; Tranquil Path; Tranquility. 2011-08-06 05:52:09 +00:00
jendave
c7b2193b9d - Added a hard deck called Radiant 3 based on flying Creatures with Radiant, Archangel, Gravitational Shift and Moat.
- Added SVar:RemAIDeck:True to Tethered Griffin.
2011-08-06 05:52:02 +00:00
jendave
1c21daac9b - Added a small section to card.getText(). This will display "CARDNAME can't be countered." in the text panel for Obliterate. 2011-08-06 05:51:54 +00:00
jendave
fc82ed01f8 - Converted these mass destruction spells to the spDestroyAll keyword: Akroma's Vengeance; Devastation; Jokulhaups; Obliterate; Purify; Shatterstorm. 2011-08-06 05:51:49 +00:00
jendave
70833e5564 Added SVar:RemAIDeck:True to Abyssal Persecutor. 2011-08-06 05:51:42 +00:00
jendave
93ea95b00a Added Song of Serenity, Guardian's Magemark, Greater Auramancy, Crosswinds, Steel of the Godhead, Shield of the Oversoul, Runes of the Deus, Favor of the Overbeing, Edge of the Divinity and Clout of the Dominus. 2011-08-06 05:51:38 +00:00
jendave
c416e952d5 - Added enchanted as a restriction to the staticeffect keyword
- Added Fencer's Magemark, Fists of the Demigod, Pyre Zombie and Slinking Giant.
2011-08-06 05:51:32 +00:00
jendave
0e293add8c - Added Serra Aviary, Cavalry Master, Stalwart Shield-Bearers and Zhao Zilong, Tiger General.
- Fixed Reckless One.
- Added SVar:PlayMain1:TRUE and SVar:RemAIDeck:True to some cards.
2011-08-06 05:51:26 +00:00
jendave
73975096ed Improved the AI of spDestroyAll. 2011-08-06 05:51:21 +00:00
jendave
690dc07818 - Added a low life emergency restriction to canPlayAI for spBounceAll.
- Changed Evacuation and Rebuild to keyword.
2011-08-06 05:51:16 +00:00
jendave
b0cb5f581d Added PlayerHasThreshold... just in case. 2011-08-06 05:51:10 +00:00
jendave
eb922ee20e Fixed Thermal Blast to use Threshold instead of Hellbent. 2011-08-06 05:51:04 +00:00
jendave
907f715f0b Added Threshold to xCount. 2011-08-06 05:51:00 +00:00