Commit Graph

5099 Commits

Author SHA1 Message Date
xawotihs e4e809f3fe Emscripten seems to work, should also fix PSP and Qt builds 2016-06-19 00:41:35 +02:00
xawotihs 1667b79fa8 Improved Emscripten port... still not there yet. 2016-06-18 17:24:51 +02:00
xawotihs 9335063d68 Should fix PSP build and Windows ZIP creation 2016-06-09 21:26:11 +02:00
xawotihs 3e7ecd51fd Fixed windows SDL2 build, finished removing fmod dependency 2016-06-08 23:45:42 +02:00
xawotihs c9ee4a304e Merge branch 'master' into cmake 2016-06-07 23:35:26 +02:00
xawotihs 24cd7cab58 Merges iOS modifications with Windows modifications 2016-06-07 22:48:02 +02:00
xawotihs 473d9387d4 Removed references to fmod libs for Windows builds 2016-06-07 21:00:15 +02:00
Anthony Calosa d8e28dad7f Fix damage render 2016-06-07 18:20:30 +08:00
Anthony Calosa 1faf2e0694 Cleanup 2016-06-06 17:01:21 +08:00
Anthony Calosa 0376d094cc Apex Hawks is 2/2 Flyer
So it enters with two +1/+1 making it a 4/4 Flyer...
2016-06-06 11:19:30 +08:00
Anthony Calosa 873db7ef27 Revised Kicker 2016-06-06 11:16:32 +08:00
Anthony Calosa ecd4de48eb Apex Hawks is a 2/2 Flyer
![Apex
Hawks](http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=382214&type=card)
2016-06-06 11:11:45 +08:00
Anthony Calosa fb132173bd Kicker
TODO: Auto kicker and Affinity in Kicker....
2016-06-05 20:34:39 +08:00
Anthony Calosa 7ae8434ba3 Correction 2016-06-05 20:32:33 +08:00
Anthony Calosa 2ae0a651b8 Cloner/Copier produces same tokens as the copied cards 2016-06-05 17:58:49 +08:00
Anthony Calosa fbfc712d4c Morph 2016-06-05 13:57:57 +08:00
Anthony Calosa 5196424fbe Overload and PayZero are affected by cost increaser 2016-06-05 13:15:30 +08:00
Anthony Calosa cd83cfdc87 Removed
Forced Castcard, Suspend and other without paying manacost using these
must be recomputed for costs...
2016-06-05 13:01:55 +08:00
Anthony Calosa 52de1e7b02 Trinisphere
TODO: Morph and Kicker... Morph can be done but how to implement the
increased total cost with kicker? multi kicker? manual kicker??? Count
the mana pool if you can pay the cost+kicker if less than 3 increase
it???
2016-06-05 12:39:11 +08:00
Anthony Calosa f3c31697c8 Updated unsupported , missing
includes missing cards from primitives (borderline, crappy, other cards)
2016-06-05 10:46:54 +08:00
xawotihs 8f69e2a204 Should fix iOS build 2016-06-04 21:44:35 +02:00
Anthony Calosa 87515de57f Affinity affects other costs
Affinity should affect other costs such as flashback, buyback,  to cast
since its also a cost reducer...
2016-06-04 21:50:49 +08:00
Anthony Calosa 6726166d2b Revert
there are cards that can be cast from lbrary
2016-06-04 12:09:48 +08:00
Anthony Calosa 1400f33f64 Update _tests.txt 2016-06-04 08:48:19 +08:00
Anthony Calosa edb1374c32 Create Sphere_of_Resistance.txt 2016-06-04 08:47:06 +08:00
Anthony Calosa 375589c73d Fix unused variable
AllAbilities.cpp:4172:23: error: unused variable ‘_target’
[-Werror=unused-variable]
2016-06-03 23:28:04 +08:00
Anthony Calosa ce8e117b0b Fix Cost Increaser, Cost Reducer
Should fix most of them.  TODO: Trinisphere and Morph...
2016-06-03 22:32:10 +08:00
Anthony Calosa bd76d40518 Merge pull request #674 from kevlahnota/master
Add Cascade cards
2016-06-03 15:39:17 +08:00
Anthony Calosa 723516f56c Cascade cards 2016-06-03 15:37:17 +08:00
Anthony Calosa 0026153a2c Update GameObserver.cpp 2016-06-03 13:21:31 +08:00
Anthony Calosa be53c68d28 unused variable
AllAbilities.cpp:275:17: error: unused variable ‘counter’
[-Werror=unused-variable]
2016-06-03 11:36:40 +08:00
Anthony Calosa 62fa9acc9f Cascade Class
seperate cascade and fix cant life change :)
2016-06-03 10:40:38 +08:00
xawotihs 956d0a736d Should fix Macosx build 2016-06-02 20:57:09 +02:00
Anthony Calosa f4c17aaf45 Cascade 2016-06-02 20:39:21 +08:00
Anthony Calosa ed6755496f parenthesis
try to fix psp build
2016-06-02 12:13:23 +08:00
Anthony Calosa 4530115506 whitespace 2016-06-02 09:13:39 +08:00
Anthony Calosa aabb905313 Cant life change 2016-06-02 09:10:30 +08:00
zethfoxster 1369a08863 added abilities= keyword "devoid"
abilities=haste,flying,devoid
would make a flying haste colorless creature.
2016-06-01 18:47:19 -04:00
Anthony Calosa ac9dfd570a minor skip phase
if there is no possible attacker then skip phase
2016-06-01 18:04:15 +08:00
Anthony Calosa 5cd5f4b38e Fix crash for Deck Menu
Old save with stats should work 👍
2016-06-01 18:03:04 +08:00
Anthony Calosa 57c7796424 Add "Snow" Cards 2016-06-01 12:53:33 +08:00
Anthony Calosa dd6c1c3d01 Merge branch 'master' of https://github.com/WagicProject/wagic 2016-06-01 10:00:04 +08:00
Anthony Calosa 712fc26d56 Update test
colorless mana changes
2016-06-01 09:55:50 +08:00
Anthony Calosa fd89d51f84 tidying up 2016-06-01 09:32:28 +08:00
Anthony Calosa 9e50187740 re add the comparison 2016-06-01 09:26:58 +08:00
Anthony Calosa a36b47e500 try to fix psp compilation
travis error:
../projects/mtg/src/ManaCost.cpp:263:23: error: unused variable
‘counterCheck’ [-Werror=unused-variable]
2016-06-01 09:14:47 +08:00
Anthony Calosa a454c3e564 Snow
Mana produced by snow permanent
2016-06-01 08:31:19 +08:00
zethfoxster 26b30cb20d ok sorry about the confusion, so the issue was with {1}{c} and how its handled. we only need to replace the adding of colorless in the manapool, the old colorless is still very very valid and should be left in place as is.
{1} can be paid with anything
{c} is a mana supertype, it pays for diamond and colorless. 
however all card such as "sol ring" now add diamond instead of old colorless.

reverted waste to {c}, but moved it under counters to avoid crashes. parse for a counter if its not a counter than parse {c} otherwise we would end up with case where it was parsing {c} instead of building counters or vice versa.
2016-05-31 18:41:36 -04:00
zethfoxster 7639e18c39 whoops heres the other half. tested with following arbor elf test card
[card]
name=Arbor Elf
auto={0}:add{1}
auto={0}:add{r}
auto={0}:name(waste) add{waste}
auto={waste}:life:1
auto={3}:damage:1
auto={1}{waste}:moveto(mybattlefield) target(<2>*|mylibrary)
text={T}: Untap target Forest.
mana={0}
type=Creature
subtype=Elf Druid
power=12
toughness=12
[/card]
2016-05-30 17:46:51 -04:00
zethfoxster 80d0ee4dc3 defining "colorless" waste land mana. 2016-05-30 17:45:21 -04:00