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
Anthony Calosa
014ca36a4a
force event for token sacrifice
2016-07-27 07:11:30 +08:00
Anthony Calosa
eebcc9c925
Fix CDAACTIVE & transformed card colors
...
cdaactive has its own computation, so exclude it on flip/transform cards
ability
2016-07-27 06:31:03 +08:00
Anthony Calosa
e855ca72aa
Fix Mirror Gallery & enters "tapped" cards
...
If Mirror Gallery leaves play, you must check for legendary status.
Fix some cards that enters tapped.
2016-07-27 01:44:18 +08:00
Anthony Calosa
ae33977e10
Add Snapcaster Mage Ability
...
tempflashback - flashback using manacost
2016-07-26 09:56:13 +08:00
Anthony Calosa
12b80307a7
Update Living_Death.txt
...
Use Living Death and Clone
2016-07-26 08:51:46 +08:00
Anthony Calosa
43fd399d10
Update _tests.txt
2016-07-26 07:46:18 +08:00
Anthony Calosa
cc5d8940bf
Clue tokens
2016-07-26 07:43:13 +08:00
Anthony Calosa
26c85fd18a
added Eldritch Moon
2016-07-25 06:32:49 +08:00
zethfoxster
61068ee166
big whoops here, this would be a disastrous change.
2016-07-24 11:12:13 -04:00
zethfoxster
6a71bf5653
Merge pull request #32 from WagicProject/master
...
getting master
2016-07-24 11:08:51 -04:00
zethfoxster
3007ddc093
added oplifetotal...or readded, i swear this was already in a long time ago when I added lifetotal as a variable. either way.
2016-07-24 11:08:08 -04:00
Anthony Calosa
f960cdea9b
A little border adjustment
...
no more very thin borders on awards and in game...
2016-07-24 20:25:20 +08:00
Anthony Calosa
b70b2a65bc
Merge branch 'master' of https://github.com/kevlahnota/wagic
2016-07-24 20:20:31 +08:00
Anthony Calosa
4a73e90da8
remove test
...
temporarily
2016-07-24 20:19:58 +08:00
zethfoxster
f254ca57c6
Merge pull request #31 from WagicProject/master
...
getting master
2016-07-24 07:32:06 -04:00
Anthony Calosa
5e35dac1da
Update Living_Death.txt
2016-07-24 17:51:26 +08:00
Anthony Calosa
44cbd408ce
Update _tests.txt
2016-07-24 14:25:08 +08:00
Anthony Calosa
6fbe9de1a8
Create Living_Death.txt
2016-07-24 14:24:11 +08:00
Anthony Calosa
3282848631
Normalized Big Quad Border
...
Hopefully all Big Quads have identical border sizes: In Game, Deck
Editor Carousel and Trophies .
2016-07-24 13:12:40 +08:00
Anthony Calosa
f142363bfa
smaller scaled big quad and forced border
...
Ingame big quads are scaled smaller
2016-07-24 12:40:41 +08:00
Anthony Calosa
c0e9800179
added scalpelexis, sphinx's tutelage, grindstone, primal surge
2016-07-24 12:31:16 +08:00
zethfoxster
02992954c2
Merge pull request #30 from WagicProject/master
...
getting master
2016-07-23 09:19:12 -04:00
Anthony Calosa
fe577d9dd0
fix flying and multiple moat in play
...
putrid imp that gains temporary flying cant attack if the opponent has
multiple moat in play, this should fix it.
2016-07-23 09:45:12 +08:00
zethfoxster
bc2d8dab31
corrected my logic for emerge, originally I thought the cost was the same as the original cost, while coding i noticed it can have a completely different cost than the real manacost.
...
moved the extra cost check for "offerings" to a location before canafford in alternative reacttoclick, the reason for this is that the 2 offering cost we have handle the can afford calls, and even cast the card in the dopay. not placing this before it causes the card to not react to click if there is a different manacost attached to the emerge/kill
test codes below.
mana={g}{g}{g}
other={emerge}(r}{4} name(emerge)
mana={6}
other={k(giant|mybattlefield)}
fixed memleaks in killoffering code.
note to devs, remember to make diff costs a variable that you can safe_delete, it creates a manacost object that will become a leak otherwise.
do not use it directly as a function.
source->controller()->getManaPool()->canAfford(source->getManaCost()->Diff(target->getManaCost()))
this will leave a memleak every single time ai checks this cost, or a player accesses the cost even if you cant pay it.
2016-07-22 19:10:06 -04:00
zethfoxster
2d76c8ff0d
Merge pull request #29 from WagicProject/master
...
getting master
2016-07-22 18:05:16 -04:00
zethfoxster
0a3d9f9876
flipped the logic of the 2 deck editor menu buttons left and right, it was a nightmare making an ai deck with the tiny buttons to navigate. having my finger slip slightly off the button made it travel the opposite direction from the button, which was confusing and felt very buggy.
2016-07-22 17:46:52 -04:00
Anthony Calosa
6832049ccc
reserve size
2016-07-22 16:00:29 +08:00
Anthony Calosa
6d72753216
OK quad and COMBATTOUGHNESS for attackers/blockers
...
support doubled res for OK quad, AI should consider toughness as power
if it has COMBATTOUGHNESS ability
2016-07-22 15:38:38 +08:00
zethfoxster
155a7a6582
Merge pull request #28 from WagicProject/master
...
getting master
2016-07-21 22:29:58 -04:00
zethfoxster
6aafe9dee0
added lifegain and oplifegain variable used the same as lifelost, but stores the value of life gained this turn.
2016-07-21 21:11:15 -04:00
zethfoxster
680c9d64cb
Merge pull request #778 from zethfoxster/master
...
getting master
2016-07-21 20:47:28 -04:00