jendave
d9f98dabe9
- Cleanup in CardFactory.
2011-08-06 21:33:03 +00:00
jendave
1f13a2b676
- Fixed several misspellings, changed occured to occurred.
2011-08-06 21:32:55 +00:00
jendave
34104f02f1
- Minor edit to the notes recently added to CF_Auras.
2011-08-06 21:32:30 +00:00
jendave
35605c1621
- Fixed Treva's Ruins.
2011-08-06 21:32:16 +00:00
jendave
f943661374
- Converted Leafdrake Roost to generic aura and trigger + AF.
2011-08-06 21:31:51 +00:00
jendave
6512ba29dc
- "CARDNAME can't be the target of Aura spells." will no longer protect from abilities of auras (like Chime of Night)
...
- Fixed Dense Foliage.
2011-08-06 21:31:42 +00:00
jendave
c8ef3f1a27
- Cards with "CARDNAME can't be the target of spells." can no longer be targeted by aura spells.
2011-08-06 21:31:33 +00:00
jendave
5a6566d57c
*Fixed weird usage of Card.addCounter() in Heartmender's upkeep code.
2011-08-06 21:31:21 +00:00
jendave
975bfd39f0
- Added Razorgrass Screen.
2011-08-06 21:30:47 +00:00
jendave
ae040cfd50
- Implemented the keyword handling of "All creatures able to block CARDNAME do so." and "CARDNAME blocks each turn if able." for human blocking (was already implemented for the AI).
2011-08-06 21:30:38 +00:00
jendave
15a0d22d1c
- Gave the generic auras code some AI. Will now check for aura magnets. If non found it will check for unenchanted cards and if there is non the AI will enchant a previously enchanted card.
2011-08-06 21:30:22 +00:00
jendave
71ac1f21f3
- Improved the generic aura code. This code will now check to see if the keyword ends with " you control". If found, the human will only be able to target his or her own cards of the appropriate type. It is assumed that we will not have any auras that also need to end in "Curse" for the AI to determine a target for the aura.
...
- Converted Caribou Range to use this new code.
2011-08-06 21:29:47 +00:00
jendave
9ea8a19c5b
add LifeTotal restrictions to triggers:
...
LifeTotal$ defines the life total to check (You or Opponent)
LifeAmount$ uses standard GE5, LEX, etc
(Convalescense and Convalescent Care can be converted to use this)
2011-08-06 21:29:19 +00:00
jendave
a646cf0ead
- The AI will no longer hold back creatures from attacking if they can't block any of the human creatures (for example creatures with shadow).
2011-08-06 21:29:04 +00:00
jendave
9d606757b9
- Changed occurrences of "clearSpellAbility()" to "clearFirstSpellAbility()" that are located in CardFactory_Auras.java.
2011-08-06 21:28:58 +00:00
jendave
8d559755ad
- Fixed NPE I produced in ChangeZoneAll.
2011-08-06 21:28:24 +00:00
jendave
31b6f33de5
- Converted Tormod's Crypt to script.
2011-08-06 21:28:07 +00:00
jendave
ee86f9dc16
- Little fix to the last commit (to prevent bugs with future cards).
2011-08-06 21:27:58 +00:00
jendave
e5c03c83e9
- ChangeZoneAll will now actually use player targets (this fixes Reminisce and some other card that target players).
2011-08-06 21:27:51 +00:00
jendave
b0d27ca81b
- The AI will now use cards like Aeolipile and Seal of Fire to kill creatures.
2011-08-06 21:27:44 +00:00
jendave
3a3bdc9e5c
*Iona, Shield of Emeria and Painter's Servant no longer use the stack.Not sure why this commit didn't work yesterday.
2011-08-06 21:27:37 +00:00
jendave
afd352937a
fix possible NPE when computer Taps For Mana (trigger)
2011-08-06 21:27:23 +00:00
jendave
e16429bee1
convert Arc-Slogger to AF
2011-08-06 21:27:08 +00:00
jendave
8ac68e06e3
*Improved the following in the same vein as Kazandu Tuskcaller
...
Brimstone Mage
Guul Draz Assassin
Joraga Treespeaker
Kabira Vindicator
Kargan Dragonlord (Also converted hardcoded pump ability to script)
2011-08-06 21:26:33 +00:00
jendave
a62f2ebab3
add Storm Elemental and Whirling Catapult
2011-08-06 21:26:21 +00:00
jendave
3909cea01c
add ExileFromTop<1/Card> (for example) as a Cost.
...
add Royal Herbalist as an example.
2011-08-06 21:25:58 +00:00
jendave
0e72e84053
*Fixed a rather silly Pithing Needle bug.
2011-08-06 21:25:40 +00:00
jendave
2de22de4d9
*Added the DamageAmount parameter to the DamageDone trigger.( Format "DamageAmount$ <operator><operand>" where <operator> is one of "LT,LE,EQ,GE or GT" and <operand> is a positive integer)
...
*Added
Deus of Calamity
Pain Magnification
2011-08-06 21:25:01 +00:00
jendave
4d771ef4f4
*Fixed the trigger optimizations in relation to delayed triggers.
2011-08-06 21:24:51 +00:00
jendave
0ef9df223f
add Tapped$ as valid for counting. (i.e. SVar:X:Tapped$CardPower)
2011-08-06 21:24:31 +00:00
jendave
9a86098d60
*Hopefully optimized the running of triggers. (Now, when triggers are registered in newGame() or by pumps the triggerhandler keeps a list of which modes are actually used by cards. When a triggermode is run, it is skipped early [at the same time suppressed modes are skipped] if the mode isn't used by any card in the game.)
...
*Predatory Advantage now uses the stack properly.
2011-08-06 21:24:13 +00:00
jendave
d4ab443764
*When clashing, the carddisplaypanel now shows the drawn card when you get to decide where to put it.
2011-08-06 21:24:06 +00:00
jendave
8f4b8490fb
add Tolarian Entrancer (from Weatherlight)
2011-08-06 21:23:59 +00:00
jendave
d79a771138
- Untap toString had an extra space
2011-08-06 21:23:04 +00:00
jendave
833de21cc2
convert Eternity Vessel, Feral Hydra, Ivy Elemental, Krakilin, Lightning Serpent, Maga Traitor to Mortals, and Shifting Wall to etbCounter
2011-08-06 21:15:37 +00:00
jendave
de3c418f07
- Decrease bonus for tokens from 100 to 40 in getBestCreatureToBounce
2011-08-06 21:14:25 +00:00
jendave
66913d0ef3
etbCounter keyword will now accept "X" and calculate from SVar:X:<value>
...
convert Chimeric Mass
2011-08-06 21:14:18 +00:00
jendave
b2910e1057
- Improved the AI of AF ChangeZone with Hidden origin.
...
- Changed Exhume to make use of it.
2011-08-06 21:13:44 +00:00
jendave
f115b064c2
- Converted Dissipation Field to Trigger.
...
- Fixed Gratuitous Violence.
2011-08-06 21:13:28 +00:00
jendave
ff4ba21c97
- Hacked Gui_DownloadSetPictures_LQ into a new class which copies and renames local HQ MWS pictures into the various set folders. I'm not sure if the file delimiters I used work on non-windows systems, also, HQ pics are quite large (I just looked at my /res/pics directory, and it was well over 3 gigs :)
2011-08-06 21:05:48 +00:00
jendave
01a8f97fcf
*Fixed the most cornery of theoretical corner cases yet. (If the card that recieves the trigger object with ID 0 at launchtime is in a match with a card whose triggers are taken away (usually something animated), the animated cards trigger would get ID 0 because IDs are reset to 0 at every newGame() and when that is supposed to be removed TriggerHandler would remove Trigger ID 0, being the card that recieved the trigger object at launchtime, so the animated will keep it's trigger when it shouldn't and the launctime card will lose it's trigger when it shouldn't! Solution: Reset IDs to 50000 on newGame() instead. Simple. :))
2011-08-06 21:01:45 +00:00
jendave
cb806539e4
* use single instance of Random
2011-08-06 21:00:53 +00:00
jendave
4ffaaf59c7
- Fixed the computer's morphed cards with auras, card detail panel now states "Morph" rather than the card name.
2011-08-06 21:00:27 +00:00
jendave
ba37d8b5de
add keyword "Protection from Gorgons"
2011-08-06 21:00:14 +00:00
jendave
494c595864
- Fixed Guiltfeeder, converted to trigger + AF and commented out the non-functional code block.
2011-08-06 21:00:06 +00:00
jendave
d69daa0678
- Fixed Mirror-Sigil Sergeant, it will now generate the token during upkeep if you have a blue color permanent in play.
2011-08-06 20:59:40 +00:00
jendave
e75b56971b
add "TapsForMana" trigger. converted Manabarbs to trigger. Add Elvish Guidance.
2011-08-06 20:53:21 +00:00
jendave
1c8ba609d2
add Arrowhead and Ore counter types.
2011-08-06 20:49:29 +00:00
jendave
bb713deeb5
- Changed occurrences of "card.clearSpellAbility()" to "clearFirstSpellAbility()" located in CardFactory_Creatures.
2011-08-06 20:49:14 +00:00
jendave
4dbb4ff91e
- Fixed HIDDEN keywords in AbilityFactory_Animate.
2011-08-06 20:48:51 +00:00