Anthony Calosa
d7770d285f
not needed anymore
2017-02-03 20:55:32 +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
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
80b6496780
bug fix
2017-02-01 22:37:00 +08:00
Anthony Calosa
ea5e397595
Crew Ability Cost & Crewbonus
...
Revised cards to use {crew(targetchooser)} (modified taptargetcost) so
it can use crewbonus ability from other creatures.
2017-02-01 17:11:55 +08:00
Anthony Calosa
7b0fdcd721
refactor Legendary Rule
2017-02-01 09:49:36 +08:00
Anthony Calosa
41d925d7c9
add support for activated copier
...
thespian stage etc...
2017-01-31 20:11:09 +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
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
4f7901b946
minor refactor
2017-01-26 21:01:45 +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
94aefa6dba
notany attribute
...
anytypeofmana makes manacost colorless... wip
2017-01-23 18:32:58 +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
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
42e240c9ab
add some cards from kamigawa
2016-08-23 06:49:57 +08:00
Anthony Calosa
60411027ca
change plandtype & olandtype parsing
2016-08-19 23:34:01 +08:00
Anthony Calosa
1eae3a032f
Fixed some cards
...
replaced @lifed with @lifeof, had to hardcode conduit of ruin...
2016-08-16 12:17:53 +08:00
Anthony Calosa
568f3ae94f
fix copying man lands
2016-08-14 21:26:33 +08:00
Anthony Calosa
df3e6e5fb7
fix flip and image
2016-08-13 21:14:43 +08:00
Anthony Calosa
27145bdabe
revised fix for copier
2016-08-13 20:12:55 +08:00
Anthony Calosa
71aedfd96d
this must be copy
2016-08-13 17:39:11 +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
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
Anthony Calosa
151905c5f3
Transform Trigger, Turnlimit for TrCardAddedtoZone
...
Cleaned primitives, and fix SOI cards (remove workarounds) todo(recheck
BFZ and OGW)
2016-08-10 01:54:24 +08:00
Anthony Calosa
eb0ecedecf
revised token id (tnum:num parameter)
...
this should not conflict like earlier version.
ex:
[card]
name=Fable of Wolf and Owl
auto=@movedTo(*[green]|mystack):may token(Wolf,Creature
Wolf,2/2,green,tnum:11)
auto=@movedTo(*[blue]|mystack):may token(Bird,Creature
Bird,1/1,flying,blue,tnum:12)
text=Whenever you cast a green spell, you may put a 2/2 green Wolf
creature token onto the battlefield. -- Whenever you cast a blue spell,
you may put a 1/1 blue Bird creature token with flying onto the
battlefield.
mana={3}{GU}{GU}{GU}
type=Enchantment
[/card]
tnum uses -source id & tnum (concatenated)
2016-08-08 13:49:24 +08:00
Anthony Calosa
dae1b10de1
Copied Token Image
...
If the image is not found, try finding the token counterpart by Id
2016-08-05 21:52:46 +08:00
Anthony Calosa
52fb40d543
AACloner & AACopier TokenAndAbility
...
if the token has andAbility, the cloner/copier also has that andAbility
also...
2016-08-04 02:12:59 +08:00
Anthony Calosa
4753f7bb51
andAbility on ATokenCreator, Extend AAFlip,
2016-08-03 16:10:53 +08:00
Anthony Calosa
969511953a
vector count of abilities
...
remove unused ones
2016-08-01 14:45:57 +08:00
Anthony Calosa
7a6b6aa335
Change copier copy
2016-07-31 13:24:18 +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
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
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
ca395492d5
added meld(cardname)
...
added meldfrom(cardname|cardname) helper class.
auto={0}:target(arbor colossus|mybattlefield) meld(Arc Runner)
auto=meldfrom(arbor elf|Arbor Colossus)
2016-07-21 20:46:53 -04:00
zethfoxster
69158d55c1
more fixes
2016-07-16 14:46:40 -04:00
Anthony Calosa
2d763d106d
try to fix failed logic here
2016-07-12 02:27:06 +08:00
Anthony Calosa
69db7f7384
Add support for reducing Hybrid cost
...
it doesn't remove the hybrid icons but it reduces the cost.
2016-07-11 07:55:12 +08:00
zethfoxster
ee91e0698d
corrected some logic with computenewcost.
...
there is a bug im working on with newaffinity and cards that contain targetchoosers with CD tcs.
experimental change also added with lords. im making the abilities grants by lord forcedalive until the lord is removed from game.
some instances of forcedalive in master primitives did not contain abilities which resolved, meaning they would contenue even though the source had left play.
2016-07-09 00:11:21 -04:00
Anthony Calosa
3aa64697d2
"previousbattlefield" for mover
2016-07-08 17:39:47 +08:00
zethfoxster
61d22eb498
added a modifier for "tap" for cards that say "enters the battlefield tapped", they are supposed to be tapped when put in play, which mean they should not trigger @tapped(.
...
for cards with the line or options "do/pay MANA or this card enters the battlefield tapped"
simply change it to tap(noevent)
it will simulate the card being placed into play already tapped.
2016-07-07 19:02:41 -04:00
Anthony Calosa
4da7f77089
Cleanup tabs
2016-07-07 13:25:36 +08:00
zethfoxster
a500920bb2
Merge pull request #11 from WagicProject/master
...
got it
2016-07-06 17:57:38 -04:00
zethfoxster
861366dd71
Fixed the memleaks caused by computeNewCost, moved them to gameobserver where affinity takes place, removed repeative code that was in game observer, moved the game observer components into computenewcost, removed the calls for "new mana" in all alternative play type that were added with this function.
2016-07-06 00:02:15 -04:00
Anthony Calosa
1d80d97d22
Shackled highlight border
2016-07-06 07:55:10 +08:00
zethfoxster
c018e3dcc2
fixed a ton of memleaks, narrowed down the memleaks to just the computeNewCost function.
...
still working on a fix for this.
2016-07-04 15:13:35 -04:00
zethfoxster
2489be93a3
added setting the value of X as you cast a spell with X.
...
this does not cover abilities yet.
2016-07-02 13:38:07 -04:00
zethfoxster
f76c28fa64
convoke
...
other={convoke} name(Convoke)
delve
other={delve}
they might be able to be added directly to the real manacost.
added an ability that grants an ability while the source remains tapped
grant ability grantend...
added dethrone
abilities=dethrone
added support of multitargeting to extra cost, it acts the same as normal multitargeting, repeats dopay() the effects for each.
2016-07-01 21:29:51 -04:00