Commit Graph

5435 Commits

Author SHA1 Message Date
Anthony Calosa
6e9c965279 Merge remote-tracking branch 'WagicProject/master' 2015-10-03 21:50:02 +08:00
Anthony Calosa
87e9ed8191 Merge pull request #638 from kevlahnota/master
reverted build
2015-10-03 21:43:01 +08:00
Anthony Calosa
a5a0aa859a reverted build 2015-10-03 21:39:54 +08:00
Anthony Calosa
78693685d8 Merge pull request #637 from kevlahnota/master
revised producemana, added producecolor
2015-10-03 11:27:28 +08:00
Anthony Calosa
f39d4a688a build number 2015-10-03 08:54:18 +08:00
Anthony Calosa
0c30a4ba53 High Tide fix 2015-10-03 08:15:05 +08:00
Anthony Calosa
7db8b89b89 Merge remote-tracking branch 'WagicProject/master' 2015-10-03 07:37:04 +08:00
Anthony Calosa
ec4a9ead74 revised produceextra, added producecolor
producecolor:color look for the mana color when engaged
produceextra:selectmana acts like tappedformana(mytgt) so the ability
must be on the source
produceextra:{color}  ability on the otherhand, the ability must be on
the target
2015-10-03 07:36:52 +08:00
Anthony Calosa
d31f112967 Merge pull request #636 from kevlahnota/master
LKI for power,  toughness and basic abilities,  produceextra ability, stack and life check, reduceto ability
2015-10-02 01:12:38 +08:00
Anthony Calosa
4098c306e2 removed unused variable. 2015-10-01 22:56:42 +08:00
Anthony Calosa
ddee2c08e2 added stack check, modified life check
if activating ability, playing a land or casting sorcery spell at
sorcery level(timing restriction), if the stack is not empty, don't
allow it. Modified the life state check, if any of the players would
lose the game, allow the gamestateeffects to check... added
reduceto:value for ali from cairo...
2015-10-01 22:25:26 +08:00
Anthony Calosa
e1c02c8bf5 produceextra, lki(last known information) for power, toughness and basic abilities 2015-09-30 23:45:54 +08:00
Anthony Calosa
956d21d431 Merge remote-tracking branch 'WagicProject/master' 2015-09-29 22:29:08 +08:00
Anthony Calosa
8b3f474bca Merge pull request #635 from kevlahnota/master
Fix Recover Cards, Cloner, Copier, and Preliminary support for Madness, added converge keyword
2015-09-29 21:29:38 +08:00
Anthony Calosa
8eddcfb639 added converge keyword
converge returns the number of colors spent when casting the spell.
example you pay {2}{W}{W}{R}{B}, converge returns 3, white, black and
red colors spent with...
2015-09-29 15:09:29 +08:00
Anthony Calosa
9b79602134 Moved modifiedbAbi block 2015-09-29 14:31:31 +08:00
Anthony Calosa
0bab560e89 Fix Cloner and Copier abilities 2015-09-29 10:42:29 +08:00
Anthony Calosa
6458b46437 Merge remote-tracking branch 'WagicProject/master' 2015-09-28 21:27:48 +08:00
Anthony Calosa
021343ca02 fix for recover cards, preliminary support for madness 2015-09-28 21:27:27 +08:00
Anthony Calosa
86a5890c36 Merge pull request #634 from kevlahnota/master
life indicators and fix init of vars
2015-09-27 10:12:57 +08:00
Anthony Calosa
04e53f2002 increase the players life indicator(scale to 1.3f), fix init vars
increase the life indicator for players to 1.3f, life indicator for
players changes color according to its value. fix init for vars(should
fix gravecardtypes for tarmogoyf and pbasiclandtypes )
2015-09-27 09:52:35 +08:00
Anthony Calosa
5dccd4b05f Merge remote-tracking branch 'WagicProject/master' 2015-09-27 08:56:31 +08:00
xawotihs
9e77899535 Adds missing breaking macosx compilation without boost 2015-09-26 09:44:11 +02:00
Xawotihs
4185923d04 Replaced C++ types by C ones 2015-09-25 21:46:37 +02:00
Xawotihs
a19ccb6b49 Should fix g++ compilation issue 2015-09-25 21:01:09 +02:00
xawotihs
5ae9d42480 Fixed compilation issue with clang 2015-09-25 20:21:10 +02:00
xawotihs
f282a3346c Merge branch 'no-boost' of https://github.com/WagicProject/wagic into no-boost 2015-09-25 20:04:42 +02:00
Anthony Calosa
ac8881a097 Merge pull request #633 from kevlahnota/master
Ingest and other card fixes...
2015-09-25 19:26:48 +08:00
Anthony Calosa
41daa83e3e Merge remote-tracking branch 'WagicProject/master' 2015-09-25 17:39:48 +08:00
Anthony Calosa
2869460a7f Fixed some card primitives, added support for "other" parsing power, toughness and converted cost, added Ingest
Ingest -> topcard of library to exile
Usage ingest:value
ingest:20 will send the top 20 cards of library to exile
2015-09-25 17:39:35 +08:00
xawotihs
0f168922d8 Fixed compilation issue of config without Qt 2015-09-24 23:47:16 +02:00
xawotihs
b8b5362ba5 Removed dependency on boost when Qt is used. 2015-09-24 23:20:52 +02:00
Anthony Calosa
b4e0f2c991 Merge pull request #632 from kevlahnota/master
Added bypass for notatarget(it should bypass protection and shroud), extend castcard to support putinplay for aura(since aura must have target chooser when put into play by other means), added state based action for aura with invalid targets(ex. local enchantments that enchant creature, then the creature it enchants loses creature types like man lands ... mutavault.)
2015-09-24 19:55:13 +08:00
Anthony Calosa
201b6d9cfa bypassTC turn off 2015-09-24 14:45:26 +08:00
Anthony Calosa
a6ec3e0a68 added type check on aura if the card it enchant is legal 2015-09-24 14:14:00 +08:00
Anthony Calosa
64578787a0 NULL check 2015-09-24 12:14:58 +08:00
Anthony Calosa
d068388e7f added aura targets for castcard putinplay
the special putinplay keyword for castcard is used for aura so we can
"retarget" their intended targets but without casting them instead they
are put onto the battlefield and the ability is not targetted 👍

303.4c If an Aura is enchanting an illegal object or player as defined
by its enchant ability and other
applicable effects, the object it was attached to no longer exists, or
the player it was attached to
has left the game, the Aura is put into its owner’s graveyard. (This is
a state-based action. See
rule 704.)

303.4f If an Aura is entering the battlefield under a player’s control
by any means other than by
resolving as an Aura spell, and the effect putting it onto the
battlefield doesn’t specify the object
or player the Aura will enchant, that player chooses what it will
enchant as the Aura enters the
battlefield. The player must choose a legal object or player according
to the Aura’s enchant
ability and any other applicable effects.
2015-09-24 09:53:10 +08:00
Anthony Calosa
606d18aa6e bypassTC on playertarget 2015-09-24 06:24:17 +08:00
Anthony Calosa
106bcec7cf bypass targetchooser 2015-09-24 06:02:46 +08:00
Anthony Calosa
179e973b4e typo 2015-09-23 21:44:29 +08:00
Anthony Calosa
2223cd4f30 modified castcard to support put into play
for reanimated aura
2015-09-23 21:36:05 +08:00
Anthony Calosa
7db5345f9a attempt to fix "notatarget"
notatarget must be allowed to target untargettable cards.
2015-09-23 12:14:47 +08:00
Anthony Calosa
df659f648e Merge remote-tracking branch 'WagicProject/master' 2015-09-22 21:18:02 +08:00
Anthony Calosa
d7fd079ec4 Merge pull request #631 from kevlahnota/master
Auraward,  unattach event and statebased action for protection from quality
2015-09-22 20:29:28 +08:00
Anthony Calosa
800172f93e Update _tests.txt 2015-09-22 19:49:20 +08:00
Anthony Calosa
2fbfdbcb03 lowercase 2015-09-22 19:48:13 +08:00
Anthony Calosa
ae59e75be1 Create pledge_protection.txt 2015-09-22 19:46:18 +08:00
Anthony Calosa
f01268ef76 Merge remote-tracking branch 'WagicProject/master' 2015-09-22 17:12:00 +08:00
Anthony Calosa
4b9f94c9ae added auraward, added event for unattach, added statebased check for protection from quality
auraward -> an exception for protection from quality used for aura, like
flickering ward
added event for unattach
added state based check for protection from quality.
702.16c A permanent or player with protection can’t be enchanted by
Auras that have the stated
quality. Such Auras attached to the permanent or player with protection
will be put into their
owners’ graveyards as a state-based action.

702.16d A permanent with protection can’t be equipped by Equipment that
have the stated quality
or fortified by Fortifications that have the stated quality. Such
Equipment or Fortifications
become unattached from that permanent as a state-based action, but
remain on the battlefield.
2015-09-22 17:11:40 +08:00
Anthony Calosa
33868eef88 fix typo 2015-09-22 08:18:24 +08:00