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
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
da874738d6
castcard generated card
2017-02-16 17:10:06 +08:00
Anthony Calosa
c70762f871
readded modified rule
2017-02-16 02:39:03 +08:00
Anthony Calosa
90ed6e1fdd
chooseacolor indicator
...
replaced text with color filled rectangle
2017-02-16 00:28:07 +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
21710ddfb3
refactor AAMover getmenu text
2017-02-13 09:35:05 +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
7a35c253cb
refine display
2017-02-12 19:43:10 +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
e74921cbdf
fix crash for multiple andAbility
2017-02-11 16:17:31 +08:00
Anthony Calosa
7fa204fc9c
forgot to change this
2017-02-09 19:15:32 +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
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
7932941a01
Revert Functionality
...
AACopier and AACloner should work with andAbility now...
2017-02-03 20:45:46 +08:00
Anthony Calosa
3fa52e7ac5
corrections
2017-02-03 14:26:26 +08:00
Anthony Calosa
9104afdef7
Cleanup
2017-02-03 10:39:45 +08:00
Anthony Calosa
942c95e736
revised copier copied abilities
...
the clone should copy original abilities only
2017-02-03 10:31:10 +08:00
Anthony Calosa
6354d8ccca
revised pw rule
...
also fixed where planeswalker can use its ability after it was
transformed/flipped by activation ex. Garruk Relentless... You can’t
activate a loyalty ability of Garruk Relentless and later that turn
after he transforms activate a loyalty ability of Garruk, the
Veil-Cursed.
2017-02-02 11:58:51 +08:00
Anthony Calosa
80b6496780
bug fix
2017-02-01 22:37:00 +08:00
Anthony Calosa
41d925d7c9
add support for activated copier
...
thespian stage etc...
2017-01-31 20:11:09 +08:00
Anthony Calosa
7322d4da8b
fix castcard opponent spell
...
the casted non-permanent card from opponent will now move to its owner
graveyard...
2017-01-30 07:09:21 +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
Anthony Calosa
e128d548f4
disable andAbility for aacopier
...
so it will not conflict with original legend rule...
2017-01-29 10:27:18 +08: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
60f6c683a3
test fix equipment
...
also added some primitive fixes, added macro for fabricate
2017-01-25 18:29:27 +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
d03ebdace8
Support for KLD and AER
...
Kaladesh & Aether Revolt
2017-01-18 22:13:51 +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
6e0b7e2c23
add missing break
2016-08-26 14:20:02 +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
9bcc54c56c
add "recent" & "raidcount"
...
the recent attribute is to parse new cards entered play, then turns
itself to 0 if some stuff happened since it's already in play...
2016-08-25 03:40:38 +08:00
Anthony Calosa
1cd6f00c59
add manapool count
...
also add getStringValue for menutext
2016-08-25 00:17:16 +08:00
Anthony Calosa
ce92679be0
add AACloner andAbility
2016-08-22 10:18:23 +08:00
Anthony Calosa
15a8437d79
check imprinted card
...
fix crash
2016-08-21 11:28:17 +08:00
Anthony Calosa
b7307adc10
fix copier copying a copier
2016-08-14 14:28:14 +08:00
Anthony Calosa
27145bdabe
revised fix for copier
2016-08-13 20:12:55 +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
960d4d35fb
remove my changes in aacopier
...
since I introduce a weird crash bug with it.
2016-08-12 17:14:52 +08:00
Anthony Calosa
a378e3a72d
fix extracosts on cumulative upcost
...
since Manacost::copy copies, extracost, if this is enabled, extracost is
doubled. tested with Aboroth
2016-08-12 07:43:39 +08:00
Anthony Calosa
7e14b2fc5a
exception testsuite
...
the current implementation was clone must be recognized by id in the
scripted test.
2016-08-11 21:05:00 +08:00
Anthony Calosa
51016f9258
revised AACopier
2016-08-11 18:52:18 +08:00
Anthony Calosa
a10e7ab279
Revert "copy/flip limit"
...
This reverts commit 0c124327de .
2016-08-11 11:03:37 +08:00