Anthony Calosa
7627a00dce
arboria
2017-03-01 16:09:31 +08:00
Anthony Calosa
d761bac85c
revert pw attack rule
...
need to refactor this as this cause crashes on android when you cast a
planeswalker
2017-03-01 16:07:12 +08:00
Anthony Calosa
5f1874edae
planeswalker attack
2017-03-01 06:36:10 +08:00
Anthony Calosa
22376e873e
corrections
...
seems lord is persistent now
2017-02-28 21:45:34 +08:00
Anthony Calosa
178fcb9717
update some cycled cards
2017-02-26 09:38:11 +08:00
Anthony Calosa
039be43c2b
set the current controller to do action
...
let the controller of the action do the abilty, also fix casted cards
that's been casted using castcard and be put into its owner's graveyard
2017-02-23 14:04:16 +08:00
Anthony Calosa
ff4911116c
update some cards
...
removed phasedout trigger
add phasedoutbonus - ability
2017-02-22 18:25:39 +08:00
Anthony Calosa
ed42c3fd29
support andability in mana producer
...
so cards that parse mana abilities can be read (reflecting pool. etc..
fixes issue #700 but we need to update the code from add{mana} && do
something to add{mana} and!( do something)! )
2017-02-19 21:11:02 +08:00
Anthony Calosa
ba40253a46
Phase out Event & Trigger
2017-02-17 14:25:33 +08:00
Anthony Calosa
5e46016c4d
added new legend & pw rule, trigger & event
...
added new pw & legend rule (i just leave the old rules behind and
disabled it), added phasesin, faceup, copiedacard event, added facedup &
phasedin trigger.
2017-02-16 21:26:03 +08:00
Anthony Calosa
60d7675a36
necroed
...
hide cards using necroed
also fix castcard target if its a land.
2017-02-15 10:27:56 +08:00
Anthony Calosa
d604ae2d77
add gravecast restriction
...
if gravecast then do something
-> translates when this card was cast from a graveyard
2017-02-13 07:49:37 +08:00
Anthony Calosa
3afcc7fdf9
fix hang aicode ability controller
...
aicode should be dedicated for AI only...
2017-02-11 18:25:45 +08:00
Anthony Calosa
02dce1af2e
crash fix
...
transform getaicustomcode to lower
2017-02-10 21:00:18 +08:00
Anthony Calosa
f45e975b14
add remake keyword
...
alternative for becomes for use inside transforms...
ex. emblem transforms((,newability[target(land)
remake(creature:1/2:red)])) forever dontremove
2017-02-09 22:38:00 +08:00
Anthony Calosa
f284a9691b
some fixes
...
fixes fabricate
fixes lorded lands
add propagate keyword (like proliferate but it increases all counters)
cards with proliferate can choose a player now
2017-02-09 15:22:10 +08:00
Anthony Calosa
bac69f95d8
some changes
...
change keyword "makecardt" alternative token creator to "create" keyword
add lifeleech - gain life lost with target
2017-02-07 21:22:49 +08:00
Anthony Calosa
5b23cc2e33
auto close
2017-02-07 13:10:58 +08:00
Anthony Calosa
831c8f73b0
some bug fixes
...
fix where the copier is treated as the same copied card, also fixes the
display ability of momir (forced), disabled reveal for AI if aicode is
not found (should add alternate for ai).
2017-02-06 21:48:41 +08:00
Anthony Calosa
477419cc32
Refactor countManaProducedby
...
cards that uses this should not crash anymore with lorded mana producer
from instants like rain of filth...
2017-02-04 22:37:21 +08:00
Anthony Calosa
d26e9da6c4
add some restrictions
2017-02-03 07:59:13 +08:00
Anthony Calosa
a97a7edca6
minor refactor
2017-01-31 22:01:19 +08:00
Anthony Calosa
41d925d7c9
add support for activated copier
...
thespian stage etc...
2017-01-31 20:11:09 +08:00
Anthony Calosa
166526dbbe
Fix Legend Rule
...
Should fix the the move to graveyard effect with targetchooser
ability...
2017-01-29 16:30:13 +08:00
Anthony Calosa
348ada3f0d
revised aacopier
...
I think we still need to change legend to a trigger once it detects
multiple legends in play then trigger it at once with targetchooser to
select which cards to sacrifice as state based... vector of unique
names or id or mtgcardinstance?
2017-01-29 16:09:49 +08:00
Anthony Calosa
2c5f6d8332
Merge remote-tracking branch 'refs/remotes/WagicProject/master'
2017-01-29 10:29:10 +08:00
Rolzad73
bb2ab1c1fe
Merge pull request #911 from Rolzad73/x11_fixes
...
X11 build fixes
2017-01-28 13:17:50 -05:00
Rolzad73
85f66a8fec
X11 build fixups
...
- fixed -Werror=misleading-indentation warning
- fixed -Werror=nonnull-compare warning on xll and QT builds
- PNG_LIBPNG_VER backward compatibily changes
- giflib backward compatibily changes
- resolved some undefs for X11 build
- silenced some small compile warnings in JGE Makefile
- added -DTIXML_USE_STL to remaining build types (PSP had it added)
- fixed x11 Boost incompatibility issue part of #548
- reworked PrecompiledHeader.h platforms used
2017-01-28 04:19:46 -05:00
Anthony Calosa
3e75d70632
revert this
...
I introduce more bugs than helped. I think there's alternative method
for this,,,
2017-01-28 13:23:30 +08:00
Anthony Calosa
25e681c04a
test fix ensnaring bridge
2017-01-28 07:38:45 +08:00
Anthony Calosa
19063fd8db
some refactor
...
change some card from using "all" to "lord"
2017-01-27 22:15:03 +08:00
Anthony Calosa
1428eeba06
fix copier token image
2017-01-26 15:32:17 +08:00
Anthony Calosa
5c3a064746
aicode and revised legendary rule
...
added aicode for cards that uses reveal. since reveal cancels for ai,
aicode is the alternative code. use basic code only.
aicode=activate dosomething...
aicode - use with caution, its very basic atm and you must test each
card that uses it as it can cause crash.
legendary rule moved to game state based effect so it will not conflict
with cards with copy effects and andability. the legendary check applies
only when legendrule is found.
2017-01-24 16:10:35 +08:00
Anthony Calosa
7f6e96459c
added "energized" event
...
energizedof(player):do something
energizedfoeof(player):do something
also some fixes in the primitives
2017-01-23 11:41:19 +08:00
Anthony Calosa
6fe57be115
fix for cards with restrictions
2017-01-22 00:14:46 +08:00
Anthony Calosa
37b3f28065
additional fixes
2017-01-21 04:30:00 +08:00
Anthony Calosa
d03ebdace8
Support for KLD and AER
...
Kaladesh & Aether Revolt
2017-01-18 22:13:51 +08:00
Anthony Calosa
39ad95d4db
revised tnum attribute
...
so it can be used inside makecardt, also
2016-09-08 05:13:52 +08:00
Anthony Calosa
7f8339aedf
revised "steal" ability
...
steal - gain control of target/s until it leaves battlefield or its
current controller loses control of the "stealer"...
2016-09-06 15:47:09 +08:00
Anthony Calosa
f957fca162
add custom name for generic reveal
2016-08-29 20:58:55 +08:00
Anthony Calosa
4d56269130
fix some cards and add some missing
...
it seems " add " inside name causes issue when parsed (cause crash in
deck editor like arlinn kord), renaming it fixes it...
2016-08-27 14:56:54 +08:00
Anthony Calosa
2a1bacdfa4
add "abilitycontroller" for dynamicability
...
for use inside ability$! dynamicability<who> !$ who
2016-08-26 11:23:52 +08:00
Anthony Calosa
f3dd1be125
rebounded trigger
...
for use with rebound cards only
2016-08-25 22:25:34 +08:00
Anthony Calosa
42e240c9ab
add some cards from kamigawa
2016-08-23 06:49:57 +08:00
Anthony Calosa
cd2f4480f4
alternate token creator
...
uses ":" instead of comma, makecardt(name:type:p/t:ability:color) ex.
makecardt(Eldrazi Horrors:Creature Eldrazi Horror:3/2:haste:battleready)
2016-08-22 10:21:00 +08:00
Anthony Calosa
60411027ca
change plandtype & olandtype parsing
2016-08-19 23:34:01 +08:00
Anthony Calosa
8530292fef
Revert my Graphic changes
...
I think it's the one who cause those crashes
2016-08-13 16:45:46 +08:00
Anthony Calosa
adad723110
game mode info
2016-08-11 14:26:41 +08:00
Anthony Calosa
a10e7ab279
Revert "copy/flip limit"
...
This reverts commit 0c124327de .
2016-08-11 11:03:37 +08:00
Anthony Calosa
0c124327de
copy/flip limit
...
if the copy/flip is activated, it means it's already in the battlefield,
so "enters the battlefield" must not trigger...
2016-08-10 19:49:31 +08:00