78e4407c71
Revert "edge case fix, the issue arises from castcard but I'm fixing it at a higher level since init to zone should always have a valid "player 1" in its first constructor."
zethfox
2016-07-09 18:21:52 -04:00
d247c53136
edge case fix, the issue arises from castcard but I'm fixing it at a higher level since init to zone should always have a valid "player 1" in its first constructor.
zethfoxster
2016-07-09 17:55:08 -04:00
2e92838364
fixed an issue with dredge, where dredge is offered even though theres only one dredger on cards that draw multiple.
zethfoxster
2016-07-09 11:38:25 -04:00
283cb64a01
Merge remote-tracking branch 'refs/remotes/WagicProject/master'
Anthony Calosa
2016-07-09 21:20:31 +08:00
cf362f1a6a
Update _tests.txt
Anthony Calosa
2016-07-09 16:50:45 +08:00
3b2ea8ea98
Create previousbattlefield.txt
Anthony Calosa
2016-07-09 16:50:07 +08:00
f82bc39473
ok found the massive draw, it was trenisphere. the card lords every single card in the game a mana modifier. affinity normally didnt see these issues cause the cards effected are just either in your hand or the source themselves. but when trin was put in play it would cause 120 cards to have to update thier cost, which can not be done in acceptible cpu time. anyways, this should solve the issue.
zethfoxster
2016-07-09 01:24:55 -04:00
b5976035e3
actually i changed my mind, instead lets update affinity after events are processed, that should take into account cards untapping,moving, ect....
zethfoxster
2016-07-09 00:58:19 -04:00
14f65c55b5
going to try only updating affinity() when cards move from anywhere to anywhere to help minimize the calls to this function. this atleast allows me to debug albeit slowly the follow issue ive been working to fix. not sure when this was introduced but it was not happening when i first coded this function. manacost->copy() did not slow the game to a crawl.
zethfoxster
2016-07-09 00:48:08 -04:00
ee91e0698d
corrected some logic with computenewcost. there is a bug im working on with newaffinity and cards that contain targetchoosers with CD tcs.
zethfoxster
2016-07-09 00:11:21 -04:00
aa23537354
Merge remote-tracking branch 'refs/remotes/WagicProject/master'
Anthony Calosa
2016-07-09 06:50:31 +08:00
c0c52e57df
what a dumb typo. surprised it was in the engine that way for so long.
zethfoxster
2016-07-08 17:48:27 -04:00
dff938e802
Merge pull request #732 from kevlahnota/master
Anthony Calosa
2016-07-09 04:33:41 +08:00
847e9dffc2
revised
Anthony Calosa
2016-07-08 22:57:47 +08:00
10d81bd47a
try to fix segmentation fault
Anthony Calosa
2016-07-08 18:46:07 +08:00
3aa64697d2
"previousbattlefield" for mover
Anthony Calosa
2016-07-08 17:39:47 +08:00
fecaf64eec
Merge remote-tracking branch 'refs/remotes/WagicProject/master'
Anthony Calosa
2016-07-08 17:30:51 +08:00
20cb8e4ead
Merge pull request #731 from kevlahnota/master
Anthony Calosa
2016-07-08 16:20:33 +08:00
cb6e5a5e54
Update changes
Anthony Calosa
2016-07-08 15:47:01 +08:00
366de00950
Softcoded some card alias
Anthony Calosa
2016-07-08 15:32:13 +08:00
f80b7a32c1
Merge remote-tracking branch 'refs/remotes/WagicProject/master'
Anthony Calosa
2016-07-08 12:48:55 +08:00
67f3d956f4
Merge pull request #730 from kevlahnota/master
Anthony Calosa
2016-07-08 11:47:37 +08:00
607301b35d
Update _tests.txt
Anthony Calosa
2016-07-08 10:19:29 +08:00
9f5c3e9942
Create lifetap2.txt
Anthony Calosa
2016-07-08 10:18:00 +08:00
d34ecff3aa
Updated Primitives
Anthony Calosa
2016-07-08 10:02:54 +08:00
0ff7e54ff4
this is a good enough fix as waste is colorless which is artifact, and all we do is barrow the kbitmask from land.
zethfoxster
2016-07-07 20:47:25 -04:00
c4e508a090
Merge remote-tracking branch 'refs/remotes/WagicProject/master'
Anthony Calosa
2016-07-08 08:37:09 +08:00
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(.
zethfoxster
2016-07-07 19:02:41 -04:00
066c40d9c1
close library, exile, or graveyard after we "move" cards from it.
zethfoxster
2016-07-06 22:04:59 -04:00
5f7f4a23aa
Merge pull request #6 from WagicProject/master
Anthony Calosa
2016-07-07 09:19:21 +08:00
e39dee6e1d
Revert "Zeth Fixes"
Anthony Calosa
2016-07-07 09:16:03 +08:00
cf71f84e49
Revert "Sorted Primitives"
Anthony Calosa
2016-07-07 09:15:57 +08:00
8265253388
fixed a issue with dredge where it was entering the stack even tho dredging itself is a replacement effect.
zethfoxster
2016-07-06 20:26:18 -04:00
a748e0337d
trying to get my commit in
zethfoxster
2016-07-06 17:56:17 -04:00
2f4c00c602
Sorted Primitives
Anthony Calosa
2016-07-06 16:09:54 +08:00
78d3828f1e
Zeth Fixes
Anthony Calosa
2016-07-06 16:05:29 +08:00
4505f51fbd
Merge remote-tracking branch 'refs/remotes/WagicProject/master'
Anthony Calosa
2016-07-06 13:13:40 +08:00
2ca7b2310b
trying to manuelly add changes
zethfoxster
2016-07-06 00:43:11 -04:00
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.
zethfoxster
2016-07-06 00:02:15 -04:00
4cada08cbe
Merge pull request #723 from kevlahnota/master
Anthony Calosa
2016-07-06 09:09:32 +08:00
1d80d97d22
Shackled highlight border
Anthony Calosa
2016-07-06 07:55:10 +08:00
935849142c
replaced alias with shackler
Anthony Calosa
2016-07-06 06:37:27 +08:00
76f1591b58
removed WParsedInt "morethanfour", "plusone","plustwo","plusthree" added 2 things first plus/plusend, minus/minusend written many ways damage:type:*:myhandminus2minusend would deal damage equal to the cards in my hand -2 damage:type:creature:mybattlefieldplustype:creature:opponentbattlefieldplusend damage equal to the number of creatures in my battlefield plus the number of creatures in opponents battlefield.
zethfoxster
2016-07-04 10:43:07 -04:00