Commit Graph

5458 Commits

Author SHA1 Message Date
Anthony Calosa 5f276f6b22 blockcost and attackcost
counter{1%1} -> value
2016-08-04 05:46:23 +08:00
Anthony Calosa c45b5751af cantattack
change some cards since -cantattack overrides cantattack. If there is an
effect that makes creatures can't attack, you can just activate the
ability to remove -cantattack...
2016-08-04 05:41:22 +08:00
Anthony Calosa 52fb40d543 AACloner & AACopier TokenAndAbility
if the token has andAbility, the cloner/copier also has that andAbility
also...
2016-08-04 02:12:59 +08:00
Anthony Calosa 0a0f6cdce9 fix crash
wrong parenthesis
2016-08-04 00:36:49 +08:00
Anthony Calosa be899159f3 correction 2016-08-03 23:03:32 +08:00
Anthony Calosa 1aac2b8e75 Update AllAbilities.cpp
Try to fix IOS/MAC compilation
2016-08-03 21:23:38 +08:00
Anthony Calosa 56a8011b78 revert 2016-08-03 18:44:41 +08:00
Anthony Calosa adccae7937 switched places 2016-08-03 18:11:29 +08:00
Anthony Calosa 1c63c1937a Update some cards 2016-08-03 16:28:49 +08:00
Anthony Calosa 4753f7bb51 andAbility on ATokenCreator, Extend AAFlip, 2016-08-03 16:10:53 +08:00
Anthony Calosa 98de361bf4 change comment
enable the indicator at all modes...
2016-08-01 22:34:28 +08:00
Anthony Calosa c1df10e064 Minor Proportioning 2016-08-01 22:17:53 +08:00
Anthony Calosa 969511953a vector count of abilities
remove unused ones
2016-08-01 14:45:57 +08:00
Anthony Calosa 223e2e04b0 Correction 2016-08-01 11:44:07 +08:00
Anthony Calosa d825c7e4ea parenthesis 2016-08-01 04:49:04 +08:00
Anthony Calosa c38c996773 Revised "putinplay" in castcard 2016-08-01 04:43:54 +08:00
Anthony Calosa 71a9ef00ee Support transforms for nonpermanent
fix startled awake to persistent nightmare
2016-08-01 03:52:10 +08:00
Anthony Calosa 3b98da1d86 Fix Cloner ability 2016-07-31 18:46:07 +08:00
Anthony Calosa 2f7d2873f7 @at to @each 2016-07-31 13:28:55 +08:00
Anthony Calosa 7a6b6aa335 Change copier copy 2016-07-31 13:24:18 +08:00
Anthony Calosa a971576de0 Fix Chandra, Cryptolith Rite 2016-07-31 08:16:25 +08:00
Anthony Calosa 9722f7b71e Added Eternal Masters 2016-07-31 08:06:53 +08:00
Anthony Calosa 45d8413d59 Revert Stormtide Leviathan code 2016-07-31 07:58:26 +08:00
zethfoxster 1acdb40498 add some handling of reveal to avoid a crash in demo for AI. 2016-07-30 10:50:31 -04:00
zethfoxster f2208389bd same applies for scry 2016-07-30 10:20:19 -04:00
zethfoxster 018e35295a fixed a crash in revealing, not sure why I thought it was a good idea to test testdestroy something that I just removed from the game. if anyone can find another crash with it, let me know which card causes it. 2016-07-30 10:13:58 -04:00
Anthony Calosa b90dfbe3b0 Centered P/T inside P/T box 2016-07-30 15:04:34 +08:00
Anthony Calosa 1039815017 small adjustment
meld card have a little space between. reduce render big display.
2016-07-30 10:21:39 +08:00
Anthony Calosa 4aa6ad3203 small scale 2016-07-30 08:13:30 +08:00
Anthony Calosa 730b05ad1b change enstack attackers
their x position is the same in their "default" horizontal stack, so
when attacking it always start at left side, not in the middle. Please
report if you have bugs...
2016-07-30 07:07:35 +08:00
Anthony Calosa ffdc8cd9ff meld card size 2016-07-30 03:05:24 +08:00
Anthony Calosa a56e77310d Border Corrections
Removed other border render, and use the one in cardgui::drawcard...
2016-07-29 23:10:01 +08:00
Anthony Calosa 1d2abeb20b Minor Border changes
Also added copier values if it has copied a token or not...
2016-07-29 18:37:03 +08:00
Anthony Calosa a20c2ce29a Unused variable 2016-07-29 07:30:20 +08:00
Anthony Calosa 874b27c56d Merge branch 'master' of https://github.com/kevlahnota/wagic 2016-07-29 07:00:46 +08:00
zethfoxster 52df1ad963 the fix for the sacrifice trigger was a ton easier than expected.
treat it like a spell. 
the card after contains all the info we need to determine if it should trigger.
2016-07-28 18:48:47 -04:00
Anthony Calosa 239a186b36 Update _tests.txt 2016-07-28 21:36:21 +08:00
Anthony Calosa 5aeb2ebc05 Create TirelessGraf.txt 2016-07-28 21:35:43 +08:00
Anthony Calosa 96b4f024b4 Update test and Corrected Graf Mole 2016-07-28 19:34:50 +08:00
Anthony Calosa 2e71cb08d0 I hope this is correct 2016-07-28 19:24:01 +08:00
Anthony Calosa 30dab27202 Fix Compilation 2016-07-28 16:38:16 +08:00
Anthony Calosa cc7077d783 Fix compilation and add Tireless Tracker test 2016-07-28 16:37:38 +08:00
zethfoxster eea240d7f2 changing some of the logic to the previous fixes, we want to avoid using code that looks for specific card names.
currently we have kamiflip as the only defined flip type as it is treated differently from the others. 
but we have room for more if needed now
doublefaced=kamiflip
sets the flip type of a card to the kamiflip style cards. since this is defined on cardprimitive level now, we might be able to do something different from the flipping animation. who knows.

commented out the forcing token triggers, it bypass targetchooser check. still working on a fix for this coming soon.
2016-07-27 20:03:25 -04:00
zethfoxster afb98a374c updated codes for changes 2016-07-27 19:58:32 -04:00
Anthony Calosa 068b03a0bb Alpha-Beta small inner border 2016-07-27 17:12:11 +08:00
Anthony Calosa b99f9ae752 alpha beta small border 2016-07-27 17:10:26 +08:00
Anthony Calosa a6fdd89e1d Fix Copier 2016-07-27 15:19:11 +08:00
Anthony Calosa b8bfe7acc1 Fix Flip/Transform Cards
If the card is a copier or a token, it cannot be transformed since it's
not a double face card. Also the copied card must be the "active" part
of a double faced card. Flip cards (kamigawa block) is not restricted by
this since its a single sided card. If the transformed card is cda, take
any damage into account (PT bonus is already in effect for cda)..
2016-07-27 14:39:39 +08:00
zethfoxster 54e86915b0 Merge pull request #33 from WagicProject/master
getting master
2016-07-26 22:46:06 -04:00
zethfoxster 4f0da67a83 fixed a condition where scry core wasnt triggering its after effect 2016-07-26 19:35:10 -04:00