jendave
759fef635f
- Converted Cultivate and Kodama's Reach to AF
2011-08-06 15:17:46 +00:00
jendave
b7810af94a
- moveTo() now only copies a card if it's on the Battlefield, and it's leaving the Battlefield.
...
- Fix for Animate Dead/Dance of the Dead
- Fix for Unearthed cards being exiled instead of going to the Library
- Fix for Infinite Loop in Target from List
2011-08-06 15:17:19 +00:00
jendave
c40670f271
- Some Cleanup related to getZone and getCardsInZone
2011-08-06 15:17:04 +00:00
jendave
faa3fb2f83
*Added
...
Blade-Tribe Berserkers
Bleak Coven Vampires
Blistergrub
Contagion Clasp
Copperhorn Scout
Embersmith
Ezuri's Archers
Furnace Celebration
Glimmerpost
Golden Urn
Inexorable Tide
Molder Beast
Myrsmith
Necropede
Neurok Invisimancer
Painsmith
Perilous Myr
Riddlesmith
Screeching Silcaw
Sky-Eel School
Vigil for the Lost
Viridian Revel
*Fixed the resolving of triggered abilities so that the AI shouldn't have (as much) trouble with targeted ones.
*Fixed a rather obvious flaw where the AIs cards would never get their triggers registered.
2011-08-06 15:15:43 +00:00
jendave
3af9b51360
- Fixing bug when a Suspended card is cast, the Card is copied losing all of the Suspend triggers.
2011-08-06 15:13:57 +00:00
jendave
cad43f8a49
- Fix for Unearth mistakenly being Exiled after it Resolves
2011-08-06 15:02:44 +00:00
jendave
8a46742652
*Unconsolidated Attacks and Blocks trigger-modes.
...
*Added Sacrificed trigger-mode.
2011-08-06 14:55:54 +00:00
jendave
9e45b349e0
- Fixed madness bug with Basking Rootwalla being auto-cast
2011-08-06 14:55:17 +00:00
jendave
7e63e68958
*The beginning of the Trigger backend is in place.
...
*Added Tapped and Attacking parameters to AF_Token.
2011-08-06 14:53:01 +00:00
jendave
72a87f1007
fix the state action of illegal aura cards to be move to graveyard instead of just destroy.
2011-08-06 14:40:31 +00:00
jendave
5995c8f2d8
- Adding Developer Mode, a place where devs can have some in game options without needing to go through the debugger.
...
- Moved Milling as a Lose Condition into DevMode menu.
- Added choppic's background to the NewGame screen
2011-08-06 14:35:48 +00:00
jendave
68c53e17ba
-convert Ashen Firebeast, Bloodfire Colossus and Borrowing the East Wind to AB/SP$DamageAll
...
-add Blockbuster and Bloodfire Dwarf
2011-08-06 14:06:35 +00:00
jendave
8a1fe53856
more indentation fixes in WheneverKeyword code.
2011-08-06 14:06:08 +00:00
jendave
dbc5da267e
1) cleanup some old unused code
...
2) the WheneverKeyword code is hard enough to read without horribly odd indentation. Just fixed indentation for that code.
2011-08-06 14:06:02 +00:00
jendave
c0f699e025
clean up some outdated discard code.
2011-08-06 14:01:46 +00:00
jendave
c584eec7b0
-add keyword: If CARDNAME would be put into a graveyard this turn, exile it instead.
...
-tweak CARDNAME can't be regenerated. keyword with my changes (Sloth and I were adding the same keyword at the same time.)
2011-08-06 13:27:35 +00:00
jendave
27d3f312d0
- Added the keyword "CARDNAME can't be regenerated.".
...
- Added Hurr Jackal.
2011-08-06 13:27:28 +00:00
jendave
9685266ea8
oops. missed one place with StaticEffect keyword.
2011-08-06 13:18:38 +00:00
jendave
b69ec49431
-if moveToHand is called on a token, the token is simply removed from the zone it's in. (aka, moveToHand now handles tokens)
...
-simplified code for Hurkyl's Recall
2011-08-06 13:17:26 +00:00
jendave
a5479e4e2e
- Renaming of Zones in the code to Battlefield and Exile to match current name conventions.
...
- Addition of Stack and Command as Zones for future use.
2011-08-06 13:16:42 +00:00
jendave
229850b4b2
delete unused code from the old PlayerLife type.
2011-08-06 13:13:07 +00:00
jendave
9cabe29911
add stSetPT keyword. syntax> stSetPT:att:def:altCondition:altAtt:altDef:Description
...
This should consolidate code using StaticEffect keyword and GameActionUtil/StaticEffects custom code.
Also, the card.txt now accepts the * or 2+* for displaying in the DeckEditor. The game will still display the actual numbers.
The one todo is that card overlays are not updated correctly when the card is in hand. The actual stats are updated correctly however.
converted Nightmare and Angry Mob as examples.
2011-08-06 13:09:40 +00:00
jendave
371a7eb99d
- Fixed Planar Void.
2011-08-06 13:06:07 +00:00
jendave
95918c781e
- Some fixes related to SpellAbility_Requirements and copying spells onto the stack.
2011-08-06 13:03:57 +00:00
jendave
74063f5895
- Some fixes for when the Human tries to Activate cards the AI controls but shouldn't be able to Activate.
2011-08-06 13:02:53 +00:00
jendave
a035c830f6
*Added Recover keyword.
...
*Added Controvert,Grim Harvest,Icefall,Krovikan Rot,Resize & Sun's Bounty.
2011-08-06 12:59:51 +00:00
jendave
95424e61e8
- Added Defined Utility function in AF and added it in a handful of AFs
...
- Improved organization in AF_AlterLife
- Bugfix for Death Cloud locking down InputControl when used as a finisher by converting to AFs
- Added Small Pox
- Added initial functionality that will allow Inputs to occur during Resolution of a SpellAbility
2011-08-06 12:56:27 +00:00
jendave
977ee2a1d8
- Bugfix for infinite loop in Persist. Cleanup in this part of the code as well
2011-08-06 12:54:26 +00:00
jendave
e1d9cebce4
- Fix for Persist. Now will use moveTo instead of doing it hardcoded.
2011-08-06 12:45:31 +00:00
jendave
495cd577ea
Bugfixes for dealing with Set Images.
2011-08-06 12:38:58 +00:00
jendave
5c4743d710
minor text edit to Nath of the Gilt Leaf, and update its token creation to use standard code instead of manually setting everything.
2011-08-06 12:34:58 +00:00
jendave
2ef5b63266
- Fixed Token Color of Nath of the Gilt-Leaf.
...
- Added Battlegrowth.
2011-08-06 12:33:33 +00:00
jendave
f0538ab500
- Added Stop at Phases to Display3.
...
- Added Phase Stops preferences to ForgePreferences
2011-08-06 12:29:21 +00:00
jendave
ebff38b055
Reverted ImageCache to fix slow down in game when no card images are present.
...
DeckEditor and QuestDeckEditor now attempts to display the most recent printing of the card. Loading DeckEditor screens will take longer as it does the set sorting.
If set image can't be found, attempt to load from pics folder. If that can't be found, attempt to load none.jpg. (get none.jpg from Set Image thread)
2011-08-06 12:23:16 +00:00
jendave
4bc0e533c6
Implemented feature request 60 - provide warning message if an AI deck contains cards with RemAIDeck=True.
2011-08-06 12:12:13 +00:00
jendave
c6bf64ea58
Only sets a random set code for cards that do not already have one. Enables the possibility that cards generated in set-specific boosters can maintain their set code.
2011-08-06 12:05:56 +00:00
jendave
8af7bfce00
Added random set assignment for the computer in constructed New Game.
2011-08-06 12:04:42 +00:00
jendave
77612986b4
-(Hopefully) fixed targeting in cards played for free.
2011-08-06 10:57:57 +00:00
jendave
1e3f2d8cd4
-Added remaining ability cost reducers
...
-Added Elixir of Immortality and fixed Feldon's Cane description
-Added Sprouting Phytohydra
2011-08-06 10:55:30 +00:00
jendave
0fe1d6ffd8
- The Valid card restrictions YouCtrl, Other will now be passed down to hasProperty. This enables using the X SVar of the source card.
2011-08-06 10:51:22 +00:00
jendave
d84fead8b7
* Target addTarget bugfix
...
* Banshee, Korlash, Heir to Blackblade bugfix
* method names to lowercase refactoring
2011-08-06 10:49:39 +00:00
jendave
1ccc12673a
- Fixed a bug in costchange not affecting costs like WW.
2011-08-06 10:39:05 +00:00
jendave
820c10d96c
*Moved HandSize shenanigans into the Player class, tightened up the code overall.
...
*Fixed minor error in stack description for AF_Tap abilities.
*Added Vedalken Certarch.
2011-08-06 10:27:04 +00:00
jendave
4f76ffa296
Added SetInfoUtil class for set lists and cross-reference with set codes.
...
Bugfix in ReadCard - substring for SetInfo.
Enabled random set-specific pictures.
2011-08-06 10:23:21 +00:00
jendave
ca82460d2c
- Added Alternate Win/Lose into Player class
...
- Changed anything applicable to use the system instead of setting life to 0. - Upkeep "you win" abilities now check condition on resolution as well.
- Bugfix for Milling not giving quest award.
2011-08-06 10:17:39 +00:00
jendave
fa6c071aaf
add All Hallow's Eve (from Legends)
...
also,
1) add Corpse and P2P2("+2/+2") counters
2) update the VampiricEffects keyword to accept +2/+2
2011-08-06 10:11:45 +00:00
jendave
e4f37837c8
consolidate code from Player and GameAction classes related to sacrifice permanents.
2011-08-06 10:08:50 +00:00
jendave
cd4e12fa1a
delete unused function
2011-08-06 10:08:42 +00:00
jendave
4d6b0bf10b
fix double period in WheneverKeyword CustomCounters Stack Description.
2011-08-06 10:06:56 +00:00
jendave
01f8f51db0
move sacrificePermanent function to Player class
2011-08-06 10:06:04 +00:00