Commit graph

1311 commits

Author SHA1 Message Date
magenoxx
0f950dbc50 [AVR] Miracle keyword 2012-05-01 23:59:36 +04:00
North
236a84cbcb Fixed potential NPE in SacrificeTargetEffect.getText 2012-05-01 22:28:21 +03:00
magenoxx
933f094f69 More careful fix for PlayerImpl.canPlay. Moved ThaliaGuardianOfThrabenTest to another package. 2012-05-01 12:33:51 +04:00
magenoxx
4526d50e43 Added tests for cost modification effects based on Arcane Melee card. One test fails because of bug in core. 2012-05-01 12:07:06 +04:00
magenoxx
26ac9d1967 Fixed PlayerImpl.canPlay - didn't take cost modification effects into account 2012-05-01 11:53:58 +04:00
magenoxx
1bf788a4e1 [AVR] 5 cards 2012-05-01 09:39:07 +04:00
magenoxx
537c326789 [load] loading testing: added simple test for starting game by two players 2012-04-30 18:56:36 +04:00
magenoxx
42108ef59c fixed downloading images from flip cards according to changes on magiccards.info site 2012-04-28 03:27:36 +04:00
North
15759532cf [minor] removed unused imports 2012-04-24 23:03:09 +03:00
North
fa0445b544 Added support for player searching another players library
Fixed Haunting Echoes and Sadistic Sacrament to use this feature
2012-04-24 23:03:09 +03:00
jeffwadsworth
b6f1cba7fa - Added text to PreventCombatDamageSourceEffect class. 2012-04-19 16:18:13 -05:00
jeffwadsworth
c41c9c1f94 - Added Guard Gomazoa. <ROE> 2012-04-19 16:12:19 -05:00
North
93018628df AuraReplacementEffect fix - changed source id to the Aura's ID and not the ability source ID. 2012-04-15 20:23:39 +03:00
North
9632a3297d Added AuraReplacementEffect; cards with the Aura subtype don't change the zone they are in if there is no valid target on the battlefield. Also, when entering the Battlefield and it was not cast this effect gets the target to witch to attach it.
Updated Aura Enchantment cards affected by the AuraReplacementEffect.
2012-04-13 22:18:37 +03:00
North
6f57351096 Fixed Cryptoplasm copy effect. 2012-04-08 21:24:42 +03:00
magenoxx
f0be9c35d7 Moved skipping initial shuffling to game options. 2012-04-07 11:52:31 +04:00
magenoxx
53b2893a81 Fix for issue with Mul Daya Channelers. All tests pass. 2012-04-07 11:09:20 +04:00
magenoxx
89cec1c2b2 not shuffling library for tests 2012-04-07 11:08:49 +04:00
magenoxx
3348a29b1a [ROE] Mul Daya Channelers (by jeffwadsworth2010) 2012-04-07 11:06:02 +04:00
jeffwadsworth
39fcd5648f - Added optional flag for BecomesTargetControllerSpellTriggeredAbility. Fixes Dormant Gomazoa. 2012-04-06 20:41:20 -05:00
jeffwadsworth
26084cc184 - Added Dormant Gomazoa <ROE> 2012-04-06 20:34:10 -05:00
jeffwadsworth
8d6766b011 - Added Champion's Drake <ROE> 2012-04-05 21:04:33 -05:00
jeffwadsworth
e92d3e146f Merge branch 'master' of ssh://109.200.159.85/var/lib/git/mage.git 2012-04-04 19:59:36 -05:00
jeffwadsworth
56665e580d - Added <ROE> Totem-Guide Hartebeest. 2012-04-04 19:57:16 -05:00
North
a7faf62c81 Fixed AI NPE from ReboundAbility. 2012-04-01 19:37:27 +03:00
North
46cbaa0ce0 Fixed DiscardTargetEffect.getText. It supports FixedTarget now. 2012-04-01 18:56:28 +03:00
North
c8b6dde3d9 Fix - target pointer should be set from wrapper effects. 2012-03-30 22:19:20 +03:00
North
c9ddaac961 Added javadoc to Card.moveToExile
removed unused imports
2012-03-30 21:20:18 +03:00
North
bc1dcff4fe Refactored ConditionalContinousEffect to support otherwiseEffect 2012-03-30 21:18:42 +03:00
BetaSteward
c893fd891e cards submitted by backfir3 2012-03-29 08:33:46 -04:00
BetaSteward
97c6f33154 fixes 2012-03-29 08:32:52 -04:00
North
03bbc73564 MageInt.EmptyMageInt made immutable 2012-03-28 22:29:27 +03:00
North
775b3276c9 Fixed Chimeric Mass.
Also fixed the BecomesCreature effects. In case the token had another ability with a SetPT effect there would have been two effects on the same layer and the outcome would not be predictable.
2012-03-28 22:18:33 +03:00
magenoxx
e851fb4d8e Fix for EntersBattlefieldEffect and ChimericMass. 2012-03-28 13:18:35 +04:00
magenoxx
deb6533bd8 [mad ai] emulating block declaration. safe block. (in progress) 2012-03-26 22:04:31 +04:00
magenoxx
0b75e4866a Fixed EntersBattlefieldEffect. PhantasmalImage's CopyEffect works now. 2012-03-26 20:05:20 +04:00
BetaSteward
e859e142fa 2 DKA 2012-03-26 08:55:30 -04:00
magenoxx
523481b5a2 Added additional parameter for effect outcome. Updated choosing permanents for AI. 2012-03-26 10:59:04 +04:00
magenoxx
7ecf9f125d Fixed NPE in CopyEffect (happened when creature copied itself that is legal from rules point of view). 2012-03-26 10:35:29 +04:00
magenoxx
fb8f4c3c67 Test for Exiled and fix. 2012-03-26 09:20:30 +04:00
magenoxx
46439e7ffe Fixed Oblivion Ring issue (LeavesBattlefieldTriggeredAbility). 2012-03-26 00:42:04 +04:00
magenoxx
569faf8fd3 TransformAbility fix. 2012-03-26 00:41:53 +04:00
magenoxx
0754cd91d0 javadoc fix. formatting 2012-03-26 00:34:36 +04:00
magenoxx
3875c1f7c0 Changed component version from 0.8.3 to 0.8.4 (dev) 2012-03-25 12:16:46 +04:00
North
b446585c00 [DKA] Helvault
fixed ReturnFromExileForSourceEffect
2012-03-19 00:28:36 +02:00
intimidatingant
a20d1fbf8e Merge branch 'master' of ssh://git.magefree.com/var/lib/git/mage 2012-03-14 20:53:15 -07:00
intimidatingant
eb418cf1fe Add 3 DKA cards. Fix bug with Diregraf Captain. 2012-03-14 20:52:31 -07:00
North
8ea3cc741c Fixes issue when source for damage isn't on the battlefield anymore 2012-03-12 23:27:48 +02:00
BetaSteward
de4153c5aa 3 DKA 2012-03-11 23:20:56 -04:00
North
47abc28d78 [DKA] Jar of Eyeballs
[DIS] Proper Burial
[10E] Grave Pact
[TMP] Essence Bottle, Torture Chamber
2012-03-11 17:12:04 +02:00
BetaSteward
f98a1be4e0 fixed multiple emblems in play 2012-03-10 22:22:43 -05:00
BetaSteward
3b643805c8 normalized ContinuousEffects 2012-03-10 22:20:24 -05:00
BetaSteward
243fd32fa3 updated SpellCastTriggeredAbility to use FilterSpell 2012-03-08 22:49:23 -05:00
BetaSteward
d353924fcd submissions from Melkhior 2012-03-08 15:38:18 -05:00
BetaSteward
f1fefb0d59 2 DKA 2012-03-08 13:54:31 -05:00
BetaSteward
e03aaee4b6 updated searching/shuffling interaction 2012-03-08 13:53:23 -05:00
BetaSteward
631308a5df fixed cost modification effects getting applied twice 2012-03-05 22:45:36 -05:00
BetaSteward
dddca6ae32 2 DKA 2012-03-05 22:44:49 -05:00
Loki
3e2c7dfa95 fix affinity double-counting 2012-03-05 19:57:27 +04:00
Loki
d5fea2e5c8 Merge remote-tracking branch 'origin/master' 2012-03-05 19:33:15 +04:00
Loki
b02e87ea67 try toi fix NPE in Gatekeeper of Malakir 2012-03-05 19:32:59 +04:00
BetaSteward
82f8a7cdee added replace event to putOntoBattlefield call - moved logic for moving cards to putOntoBattlefield 2012-03-05 09:15:47 -05:00
BetaSteward
db02ea3aa6 fixes 2012-03-03 23:20:10 -05:00
BetaSteward
67fb349224 3 DKA 2012-03-02 15:42:34 -05:00
BetaSteward
12027369a5 DKA - IncreasingVengeance 2012-02-29 13:35:34 -05:00
BetaSteward
cab80c5a68 4 DKA 2012-02-28 22:54:40 -05:00
North
6f7050f9eb Merge
Conflicts:
Mage.Sets/src/mage/sets/darkascension/WolfhuntersQuiver.java - kept my version (rule text is correct in mine)
2012-02-28 21:55:36 +02:00
North
5c7c0a4086 Fixed Past in Flames TimingRule
Fixed All is Dust to take into account the range of influence
minor changes to all other files
2012-02-28 21:49:36 +02:00
BetaSteward
1dbc0a2be5 2 DKA 2012-02-28 14:25:36 -05:00
BetaSteward
c64c597467 DKA - Fiend of the Shadows 2012-02-26 21:48:55 -05:00
BetaSteward
9ae7ff87ea more tests + some fixes 2012-02-25 23:24:06 -05:00
BetaSteward
68391a7522 fixed some NPE's and other errors 2012-02-23 15:26:57 -05:00
BetaSteward
828662f6f3 3 Curses from DKA 2012-02-19 09:52:39 -05:00
BetaSteward
86906c633a updated test framework - added TestPlayer which only performs instructed actions 2012-02-17 10:40:57 -05:00
BetaSteward
2e14adfde0 removed ConditionalStaticAbility - not getting applied anymore - used ConditionalContinousEffect instead 2012-02-17 10:28:09 -05:00
magenoxx
cb929d1f21 Fixed NPE in monte carlo. Removed actions remembering for now as not used yet. 2012-02-14 08:55:42 +04:00
BetaSteward
48f5a469d4 fixes for monte carlo ai 2012-02-13 09:05:01 -05:00
LevelX
37086bfa5c [DKA] Blck Cat
Some text improvements
Fixed NezumiBoneReader
Added randomDiscard parameter to DiscardTargetEffect
2012-02-12 00:48:17 +01:00
LevelX
ef5594cdd3 Some small improvements to text generation 2012-02-11 14:25:21 +01:00
LevelX
fa587ce7b7 [DKA] Tower Geist
Rework of LookLibrary effects
2012-02-11 14:13:08 +01:00
BetaSteward
885c43d374 Merge branch 'master' of ssh://109.200.159.85/var/lib/git/mage 2012-02-09 15:58:59 -05:00
BetaSteward
d79cbcb54f fixes 2012-02-09 15:58:14 -05:00
Loki
af6ef52215 3 DKA 2012-02-08 20:43:31 +04:00
BetaSteward
6205ebaeb9 fixed Liliana Of The Veil npe when targeting tokens + added choose pile dialog 2012-02-07 15:15:47 -05:00
Loki
f14559d71d fix summoning sickness, 1 DKA 2012-02-07 16:52:53 +04:00
Loki
4d578fa022 DKA 2012-02-07 14:00:45 +04:00
BetaSteward
4fd59f9e8c added test for continuous effects + modified tests to stop on specified turn and step 2012-02-06 10:06:25 -05:00
BetaSteward
79be305eb9 fixed continuous effects generated by spells 2012-02-05 22:50:42 -05:00
BetaSteward
bf9e25fc34 other fixes 2012-02-04 17:05:48 -05:00
BetaSteward
90c7079bfa fixed delayed triggered abilities 2012-02-04 17:02:25 -05:00
magenoxx
681cf0167d minor fix 2012-02-04 15:46:46 +04:00
magenoxx
2e890bea0c try\catch around NPE on server 2012-02-04 15:38:28 +04:00
magenoxx
36bc35f7b2 This time correct fix for DiesTriggerAbility. 2012-02-04 10:12:38 +04:00
magenoxx
7b6cedacfa Fixed DiesTriggeredAbility not working. 2012-02-04 00:36:17 +04:00
BetaSteward
d813283c19 adding back recent changes - not quite sure how I managed to revert all this 2012-02-02 23:48:25 -05:00
BetaSteward
1d32f49fd0 modified triggered abilities, continuous effects and zones 2012-02-02 23:27:23 -05:00
North
053c630b3c fixed NPE for LookLibraryControllerEffect 2012-01-30 22:05:47 +02:00
North
34765debdc [refactoring] removed DrawCardEffect (misleading and there was better solution already implemented); also fixed Cruel Ultimatum
[refactoring] removed special char from deck name.
2012-01-29 22:39:58 +02:00
magenoxx
49c403da0e Fixed static text. 2012-01-28 11:04:41 +04:00
BetaSteward
1b965f358b Urza's Saga - courtesy of Backfir3 2012-01-27 21:36:36 -05:00
BetaSteward
436a8ea440 Merge branch 'master' of ssh://109.200.159.85/var/lib/git/mage 2012-01-24 22:52:38 -05:00
BetaSteward
7fce6c552d fixes + optimizations + updates to monte carlo ai 2012-01-24 22:51:31 -05:00
BetaSteward
23616432e4 fixed ConcurrentUpdateException with multi-threaded ai 2012-01-24 22:50:18 -05:00
LevelX
6a282d1e51 3 new cards
[CHK] Marrow-Gnawer / Orochi Eggwatcher / Kiku, Night's Flower

Fix
ShisatoWhisperingHunter - using now sacrificeControllerEffect instead of sacrificeEffect

Framework
BeginningOfUpkeepTriggeredAbility - reverted change to set targetPointer if targetController == YOU (this caused unwanted side effects)
SacrificeControllerEffect - new effect that the controller of an ability has to sacrifice something
GainAbilityAllEffect - improved text generation
some minor comment and include fixes
2012-01-24 23:33:27 +01:00
LevelX
5be4f1c291 8 new cards
[SOK] Kashi-Tribe Elite / Matsu-Tribe Birdstalker	
[CHK] Kashi-Tribe Reaver / Kashi-Tribe Warriors / Matsu-Tribe Decoy / Orochi Ranger / Shisato Whispering Hunter / Sosuke, Son of Seshiro

Framework
SkipNextPlayerUntapStepEffect - new effect
CardsInHandCondition - new condition
DealsCombatDamageToACreatureTriggeredAbility - new ability
BecomesCreatureSourceEffect - Fix to solve problems with creatures that unintended kept their subtypes (e.g. Skinshifter))
BeginningOfUpkeepTriggeredAbility - set also target pointer if targetController == YOU
BoostTargetEffect - added lockedIn parameter to fix error for various cards (DragDown / ElderOfLaurels / MightOfAlara / MightOfTheMasses  / StrengthOfCedars / BloodthirstyOgre)
GainAbilityControlledEffect - imporoved text generation
SkipNextUntapTargetEffect / TapTargetEffect - addded fixed target text support

Minor changes
AkkiLavarunner / CreakwoodGhoul / DearlyDeparted - includes
ClockworkBeetle - fixed use of effect of other card
KondasBanner - fixed potential null pointer exception and wrong name spelling
YoseiTheMorningStar - uses now the new SkipNextPlayerUntapStepEffect
2012-01-22 11:12:49 +01:00
Loki
53d70ffbe3 [MRD] Auriok Bladewarden 2012-01-19 12:35:03 +04:00
BetaSteward
2e21b7197b fixes and optimizations for monte carlo ai 2012-01-16 18:49:11 -05:00
BetaSteward
a13bb9acf5 moved CopyPermanentEffect and fixed some cards with copy 2012-01-16 18:45:11 -05:00
LevelX
6b0f04d03f 13 new cards
[BOK] Akki Blizzard Herder / Crack the Earth
[CHK] Commune with Nature / Otherworldly Journey / Peer Through Depths / Rag Dealer / Reciprocate
[CON] Faerie Mechanist / Giltspire Avenger
[PLC] DuneriderOutlaw
[ROE] Ancient Stirrings
[SOK] Freed from the Real]
[TSB] WhirlingDervish

Some small fixes or refactoring
Aura of Dominion / Hikari Twilight Guardian / Wicked Akuba / Claustrophobia / Crab Umbra / Descendant of Soramaro

Framework changes
PlayerDamagedByWatcher - replaced by the new PlayerDamagedBySourceWatcher
PlayerDamagedBySource - new watcher which tracks what sources damged a player
DealtDamageToAnOpponent - new condition
LookLibraryControllerEffect - reworked to be usable with LookLibraryAndPickControllerEffect
LookLibraryAndPickControllerEffect - new effect to handle draw and pick effects
TapEnchantedEffect - new
UntapEnchantedEffect - new
ReturnFromExileEffect - added constructor rule text support
SacrificeAllEffect - fixed missing rule text creation
GameImpl - added the creation of the new PlayerDamagedBySource watcher for each player
2012-01-12 08:11:32 +01:00
BetaSteward
dfffdfcf8c latest monte carlo ai - has a memory leak 2012-01-10 21:29:53 -05:00
BetaSteward
a06f27ec89 minor fixes 2012-01-10 21:17:13 -05:00
LevelX
f073ee299d 13 new cards
[SOK] Descendant of Soramaro
[BOK] Kami of theHonoredDead
[CHK] Heartbeat of Spring / Jugan, the Rising Star / Kitsune Riftwalker / Mystic Restraints / Nezumi Bone Reader / Nine Ringed Bo / Samurai of the Pale Curtain / Sensei Golden-Tail / Tenza Godo's Maul / Wicked Akuba / Yosei the Morning Star

Fixed cards
Kumano Master Yamabushi - renamed file to correct name
Myojin of Infinite Rage - fixed toughness value
UnearthlyBlizzard - reworked text

Framework changes
EquippedMatchesFilterCondition - new, To grant equipment boosts conditional
PlayerDamagedByWatcher - new, Watcher to track damaged players
CardsInControllerHandCount - fixed potential null pointer exception
LookLibraryControllerEffect - improved to handle DynamicValues
2012-01-08 00:04:52 +01:00
LevelX
7207bc0be6 Bloodthirsty Ogre - refactored counter handling for negative values
CountersCount - removed negative parameter
2012-01-02 23:25:46 +01:00
LevelX
e88a2a199f New cards
[CHK] BloodthirstyOgre / HorobiDeathsWail / KumanosPupil / MyojinOfInfiniteRage / MyojinOfLifesWeb / MyojinOfNightsReach / MyojinOfSeeingWinds / OniPossession / PainwrackerOni

Framework
PutOntoBattlefieldTargetEffect - new effect
SetCardSubtypeAttachedEffect - added constuctor with list of types
TargetControlledCreaturePermanent - added constructor with "required" and "filter"
DrawCardControllerEffect / SacrificeTargetEffect - improved text generation
CountersCount - added flag to return the number of counters as negative value
2012-01-02 22:30:22 +01:00
North
182d636078 minor refactoring 2012-01-01 22:54:18 +02:00
LevelX
9aeacd5cde New Cards
[APO] Index
[CHK] Cranial Extraction / Eight-And-A-Half-Tale / Ethereal Haze / Hankyu / He Who Hungers / Sensei's Divining Top
[GPC] CrystalSeer
[LRW] InkfathomDivers
[SHM] AphoticWisps / CeruleanWisps / CrimsonWisps / CrimsonWisps / ViridescentWisps
[10E] Discombobulate
Fixes
Glissa The Traitor - Changed flying to firststrike (solves issue 431)
HiddenHorror - minor text fix

Framework
PreventAllDamageEffect - replaces PreventAllCombatDamageEffect and supports now also preventing damage outside comnbat, refactored some cards with previous individual effect
SetCardColorTargetEffect - refactored some cards with previous individual effect
LookLibraryControllerEffect - supports now variable number of cards and may shuffle after look at cards
SacrificeSourceUnlessPaysEffect - refactored getText()
2011-12-31 13:53:19 +01:00
magenoxx
259fce0182 Fixed phyrexian mana can't be paid when player has 2 life. 2011-12-30 17:04:23 +04:00
Loki
3d54a8c1b4 5 timeshifted, [TSP] Ursa's Factory 2011-12-29 14:44:45 +04:00
LevelX
9e13ac418b New cards
[CHK] Befoul / Bushi Tenderfoot / Crushing Pain / Feast of Worms / Field of Reality / Forbidden Orchad / Initiate of Blood / Teller of Tales
[FUT] Witch's Mist
[TMP] Opportunist

Fixed cards
Akki Lavarunner - Rarity, removed land untap effect
LaternLit Graveyard - changed blue to black mana
Sphere of the Suns - fixed enters the battlefield tapped effect
Skinrender - changed outcome

Framework changes
TriggeredAbility - enhanced getRule() method
CreateTokenTargetEffect - enhanced getText() method
FilterCreaturePermanent - added DamageDealt filter

Some minor text/comment changes
2011-12-29 08:11:20 +01:00
North
842d2b0d42 [CHK] Hinder
[CON] Lapse of Certainty
[5DN] Fold into AEther
[LOR] Faerie Trickery
[MRD] Assert Authority
2011-12-28 18:08:31 +02:00
North
4b8507a941 minor refactoring 2011-12-27 15:25:36 +02:00
North
3704283aa0 [CON] Court Homunculus, Dark Temper, Drag Down, Filigree Fracture, Ignite Disorder, Kaleidostone, Manaforce Mace, Obelisk of Alara, Scattershot Archer, Spore Burst, Sylvan Bounty, Toxic Iguanar, View From Above, Worldly Counsel, Wretched Banquet 2011-12-27 15:24:32 +02:00
magenoxx
f6f769725f Fixed saving games became broken. 2011-12-26 15:24:29 +04:00
magenoxx
3f8ce6d44f MageDrawAction drawn cards count fix. 2011-12-26 07:54:18 +04:00
magenoxx
3f20b725db [MAD2.0] New scoring and undo system. Migrated draw cards action. 2011-12-25 11:42:32 +04:00
magenoxx
c02d453a4b Some performance measurement. Game state copying performance is good. 2011-12-24 15:14:27 +04:00
magenoxx
9a7d158a20 DamageAllEffect - source.getId to source.getSourceId 2011-12-24 12:34:15 +04:00
LevelX
810d33c8ba [CHK] Brutal Deceiver, Callous Deceiver, Harsh Deceiver, Feral Deceiver - New cards
Contagion Clasp - Changed counter ability outcome to unboost
Creepy Doll - Fixed outcome
Nim Deathmantle - Fix, It could target creatures going to opponents graveyard (fixes issue 383)
Bonesplitter - Fixed equip costs
Minor fixes to some cards - texts, removed unused imports, moved equip ability to last ability
2011-12-21 19:56:47 +01:00
LevelX
fa635acab8 [CHK] General's Kabuto, Hair-Strung Koto
EquipAbility - Added constructor with filter for equipments with equip restriction (Konda's Banner), fixed missing mana output for equip costs (please check if ok)
2011-12-21 19:43:15 +01:00
LevelX
c3aa782016 [CHK] Konda's Banner 2011-12-21 19:30:16 +01:00
LevelX
49396cea72 [CHK] VillainousOgre 2011-12-13 21:11:35 +01:00
magenoxx
065f1c3190 Fixed Issue 375. 2011-12-12 14:46:49 +04:00
magenoxx
af05af7050 Fixed Issue 441. 2011-12-11 15:53:34 +04:00
magenoxx
ba6508cbeb Updated component version from 0.8.1 to 0.8.2. 2011-12-09 13:15:07 +04:00
BetaSteward
e8ed56c80f a few more fixes + optimizations 2011-12-01 14:51:21 -05:00
magenoxx
954052b64e Fixed Issue 387. 2011-11-24 11:06:05 +04:00
BetaSteward
1627f81953 fixed some ability cost issues - mainly affects AI's 2011-11-22 10:59:13 -05:00
Loki
90116082ea more reward cards 2011-11-18 22:04:09 +04:00
magenoxx
8b67158fdb Fixed Issue 350. 2011-11-16 18:56:23 +04:00
magenoxx
60b6fe5a79 Changes in testing framework. Added support for fixed targets. Added test to damage itself by Lightning Bolt. Ignored some old tests. 2011-11-15 19:43:37 +04:00
magenoxx
a3d590fc79 Updated test framework with minimum functionality. 2011-11-15 16:01:34 +04:00
magenoxx
b9dd394f57 Fixed Issue 362 2011-11-15 09:18:57 +03:00
magenoxx
0fc4cc4e28 Fixed Issue 365. 2011-11-06 13:37:10 +03:00
magenoxx
0c4783e2cd Possible fix for Issue 372. 2011-11-06 13:10:34 +03:00
Loki
67bd84d603 [WWK] Rest for the Weary 2011-11-06 00:22:51 +04:00
Loki
413fee4af5 fix CardImpl.getRandom when size == 0 2011-11-05 13:14:38 +04:00
magenoxx
38e5ae1f03 Fixed init.txt not working for hand zone. 2011-11-05 12:38:54 +03:00
BetaSteward
2987dcc776 added resume flag to priority 2011-11-04 22:58:39 -04:00
BetaSteward
a1f1ed44c0 adjustment to GameState.getValue 2011-11-04 22:57:50 -04:00
BetaSteward
7c69bc6f30 fixes + optimizations + allow games to be paused and resumed 2011-11-02 21:39:03 -04:00
Loki
a004ced17d artifactId to lowercase 2011-10-28 15:42:54 +04:00
magenoxx
e302a12f5d Updated component's version from 0.8 to 0.8.1
manually
2011-10-28 11:36:42 +04:00
BetaSteward
cdc45d99f9 some more optimizations 2011-10-26 13:24:39 -04:00
BetaSteward
e8b5585b96 fixed issue 337 2011-10-26 13:15:38 -04:00
magenoxx
8a74175d21 Reimplemented CastSpellLastTurnWatcher. Possible fix for Issue 337. (but still doesn't work correctly because of wrong behavior in game state copying). 2011-10-26 14:22:54 +04:00
BetaSteward
21f9633486 fixed issue 314 2011-10-25 21:43:59 -04:00
BetaSteward
517a0cae26 optimizations + some fixes - mostly for monte carlo simulations 2011-10-25 15:17:42 -04:00
magenoxx
ee2417f730 Fixed Issue 332 2011-10-25 12:12:13 +04:00
North
aa55beeb4e removed <filter>.getDefault() 2011-10-23 12:17:14 +03:00
maurer.it
436f7917c0 Default static filter that I missed with my last pass of removing all of these. 2011-10-22 11:22:57 -04:00
maurer.it
1df242adce [FIX] Fixes issue 309. Seems that canChoose and possibleTargets fell out of sync. canChoose was saying that the abilities target could be chosen but when it came to actually select the target no possibilities were returned. 2011-10-22 11:21:24 -04:00
maurer.it
ffadc3be45 [FIX] Fixes issue 310. 2011-10-22 10:48:51 -04:00
maurer.it
71eccc97fc [FIX] Fixes issue 282 and potentially many others! 2011-10-21 17:32:31 -04:00
maurer.it
f0fdd7d1ba [FIX] Other half of the fix for issue 302 (still testing). 2011-10-21 08:07:00 -04:00
maurer.it
f20e2fa0e4 [FIX] Fixes issue 311. 2011-10-21 08:05:21 -04:00
maurer.it
84f00d6330 Added missing planeswalkers. 2011-10-20 22:58:57 -04:00
maurer.it
c26f634d85 [FIX] Fixes issue 298 and 303. 2011-10-20 20:33:49 -04:00
maurer.it
0ccbc694cf [FIX] Fixes issue 296. This fix seems more sane than removing line 363 of GameState.java. 2011-10-20 18:02:44 -04:00
maurer.it
6f844e0743 merge 2011-10-19 18:53:16 -04:00
maurer.it
64adbf4b21 [FIX] Fixes issue 289. 2011-10-19 18:51:31 -04:00
Loki
bc89714da0 refactoring 2011-10-19 23:00:37 +03:00
maurer.it
e0f3e367fa [FIX] Fixes Fiend Hunters may enters the battlefield ability (issue 282) and also the found bug with multiple Fiend Hunters using the same exile zone, therefore one Fiend Hunter Exiling another causes the exiled Fiend Hunter's leaves the battlefield trigger to remove itself from the exile zone from the other. This same issue affected Journey to Nowhere, Oblivion Ring and Leonin Relic Warcer 2011-10-18 20:28:50 -04:00
maurer.it
73abbd2e87 Comment cleanup. 2011-10-17 21:17:22 -04:00
maurer.it
d6e6279300 [FIX] Fixes issue 286... my own fault, oops! 2011-10-17 21:12:50 -04:00
maurer.it
515b718ad5 [FIX] References issue 282 - Fixes Phyrexian Arena, Punish Ignorance, Countersqual, Pyschic Barrier and adds LKI for spells that were countered. 2011-10-17 20:28:43 -04:00
BetaSteward
39404820de fixed AI targeting cards with Hexproof 2011-10-17 09:08:22 -04:00
Loki
5c0adadbc7 improve tooltip for Scry 2011-10-17 15:26:30 +03:00
magenoxx
3350c3e829 Updated components' version from 0.7.6 to 0.8 2011-10-16 21:02:04 +04:00
BetaSteward
b86a650159 really fix NPE 2011-10-15 23:45:27 -04:00
BetaSteward
4fc38b4548 prevent multiple singleton abilities on a permanent 2011-10-15 23:43:32 -04:00
BetaSteward
6fb8ecbf81 fixed NPE 2011-10-15 23:42:35 -04:00
Loki
e3b26d4f21 delete obsolete effect 2011-10-15 13:53:07 +03:00
Loki
260dada5f7 fix Vendetta, refactoring 2011-10-15 13:52:27 +03:00
Loki
996779c237 CreateTokenTargetEffect added 2011-10-15 11:25:27 +03:00
Loki
dbdcf7e924 cards 2011-10-15 10:48:17 +03:00
North
2cfa6927a8 Fixed SacrificeEffect (text and case when available targets < amount)
Removed unnecesarry triggered ability for Bludgeon Brawl
Added missing subtype for Kor Soldier token (Conquerors Pledge)
removed unused import
javadoc fix
2011-10-15 00:02:26 +03:00
BetaSteward
77f19c157a refactoring and cleanup 2011-10-14 11:34:51 -04:00
BetaSteward
9b19ce56c0 fixed issue 241 2011-10-14 10:31:46 -04:00
Loki
2f9b76db31 some cards 2011-10-14 13:25:17 +03:00
maurer.it
e0fb91f380 Fixed issue 212, created a getter for the copiedSpell member to use in the copied spells resolution of the rebound effect. 2011-10-13 22:34:03 -04:00
North
a426991bfa minor (removed unused imports, effects order for tooltip, static value accesed through Class) 2011-10-13 22:56:10 +03:00
Loki
d584cebb37 [RAV] Searing Meditation, improvements in SimpleTriggeredAbiltiy 2011-10-13 17:15:24 +03:00
BetaSteward
44ad4f988f fixed issue 276 2011-10-12 21:56:24 -04:00
BetaSteward
9924713583 fixed issue 207 2011-10-12 21:45:57 -04:00
BetaSteward
8592713ba0 removed DamageXTargetEffect 2011-10-12 21:45:10 -04:00
BetaSteward
c00e34c051 over-hauled watchers 2011-10-12 21:44:26 -04:00
BetaSteward
caaa81a42b refactoring and cleanup 2011-10-12 21:27:59 -04:00
magenoxx
238f26ee94 Separated transform effect for day-night and night-day transforming. 2011-10-12 15:45:59 +04:00
magenoxx
6f884817fe Fixed Proliferate. Fixed Issue 275. 2011-10-12 12:50:29 +04:00
magenoxx
28d887dff2 Updated booster generation for ISD.
(Double-faced cards instead of "C" common).
2011-10-12 12:23:48 +04:00
magenoxx
e949d046df Fixed Issue 270.
114.4. A spell or ability on the stack is an illegal target for itself.
2011-10-12 12:04:45 +04:00
North
7a610a27a6 [M10] Burning Inquiry, Warp World, Yawning Fissure 2011-10-11 23:57:50 +03:00
North
f81cf3116a fixed javadoc for Battlefield.count
fixed rule text for card
2011-10-10 23:49:30 +03:00
Loki
be10da27b8 [RAV] Firemane Angel 2011-10-10 00:01:51 +03:00
BetaSteward
15f75f8d11 fixed issue 141 2011-10-09 14:58:08 -04:00
BetaSteward
f2c44688d0 fixed issue 93 2011-10-09 14:27:38 -04:00
magenoxx
82dcb53cb9 Target refactoring. Fixed Issue 273. 2011-10-08 12:46:34 +04:00
magenoxx
c3a5910976 Fixed AI not working (NPE). 2011-10-08 10:12:10 +04:00
North
1f4f1e8188 [MRD] Lightning Greaves 2011-10-08 00:43:42 +03:00
magenoxx
0cc7945720 Refactored RegenerateTargetEffect to use targetPointer. 2011-10-08 00:34:31 +04:00
Loki
6eb6532614 [ISD] Devil's Play 2011-10-07 23:11:41 +03:00
magenoxx
3ee7c808e1 Reverting back - 711.1. Tokens and cards with a Magic card back can't transform. 2011-10-07 23:58:51 +04:00
magenoxx
da2bdfb893 Fixed game.restoreState causing double-faced cards to transform back. 2011-10-07 23:34:19 +04:00
magenoxx
0c9151cc1f Copying and creating tokens from double-sided cards. 2011-10-07 23:29:04 +04:00
BetaSteward
be1cf8dc24 missed a filter setting 2011-10-07 12:43:35 -04:00
BetaSteward
6660c6eece can now add Abilities to players 2011-10-07 12:25:45 -04:00
BetaSteward
9f922c6a2a made Hexproof a singleton 2011-10-07 12:24:44 -04:00
Loki
a629d9ea12 port Untamed Might to dynamic values 2011-10-07 13:34:49 +03:00
Loki
7d38684846 delete obsolete effect 2011-10-07 13:03:20 +03:00
BetaSteward
a269823404 fixed Myr Battlesphere - added GetXValue (can be used for non-mana X costs) 2011-10-06 23:37:10 -04:00
Loki
60d7be0583 Totem Armor mechanic 2011-10-07 00:40:43 +03:00
BetaSteward
f9c6762c11 ISD - Curse of Oblivion 2011-10-06 14:06:47 -04:00
North
f6b75537f6 reverted change to SacrificeTargetCost 2011-10-06 20:08:55 +03:00
North
20d8fa2f10 minor refactoring 2011-10-05 23:34:10 +03:00
North
d05636e20c Improved SacrificeTargetCost 2011-10-05 22:01:09 +03:00
North
fc182e2978 Refactoring 2011-10-05 22:00:46 +03:00
Rafbill
7a998c0dfe merge 2011-10-05 20:25:29 +02:00
Rafbill
6d74ad5a04 Added ControllerWinsEffect (name should be changed ?) 2011-10-05 20:25:17 +02:00
BetaSteward
00f5ddc618 ISD - Grimoire of the Dead 2011-10-05 13:07:47 -04:00
magenoxx
0db7157562 [ISD] Dissipate 2011-10-05 14:15:50 +04:00
BetaSteward
1e5d68183f allow cards to be moved from the exile zone 2011-10-04 22:21:42 -04:00
BetaSteward
2f3108c57c allow Cards in exile zone to be targeted + add card owner to filters 2011-10-04 22:21:15 -04:00
North
32fc34f90d small refactoring 2011-10-04 22:35:49 +03:00
BetaSteward
2764a4c25a cleanup 2011-10-04 12:26:34 -04:00
BetaSteward
d63919d8e3 ISD - Moonmist 2011-10-04 12:25:24 -04:00
BetaSteward
c17c68175d ISD - Gutter Grime 2011-10-03 23:43:29 -04:00
BetaSteward
cb75f9a743 ISD - Prey Upon 2011-10-03 22:00:33 -04:00
North
2ae25b3c25 small refactoring 2011-10-03 22:30:35 +03:00
BetaSteward
da45bf8f8c allow abilities to be added to cards in other zones 2011-10-02 21:23:40 -04:00
Loki
2da11a0c8e cards 2011-10-03 01:18:49 +03:00
Loki
e5e9b04917 small refactoring 2011-10-02 23:10:31 +03:00
North
a7cfd17276 minor 2011-10-02 13:14:35 +03:00
BetaSteward
0ab7ebeb76 ISD - Balefire Dragon 2011-10-01 22:59:56 -04:00
magenoxx
7b711715ab "No spell and two spells were cast last turn" conditions. 2011-10-01 16:32:20 +04:00
BetaSteward
6eacc79783 ISD - Tree of Redemption 2011-09-30 09:00:49 -04:00
BetaSteward
d2aeabc374 fixed life total exchanging to allow for rules 118.7, 118.8 2011-09-30 09:00:29 -04:00
North
c66fb996b8 Reffactoring 2011-09-30 07:44:24 +03:00
Loki
f1140eb2fb 6 10E 2011-09-30 02:01:53 +03:00
North
e0106d6b22 [ISD] cards 2011-09-29 23:06:22 +03:00
BetaSteward
9327d525c4 added CREATE_TOKEN event 2011-09-29 10:56:32 -04:00
BetaSteward
e7165fe00b allow attachments on players 2011-09-28 22:00:38 -04:00
Loki
8bbcf05c86 2 ISD 2011-09-29 00:19:03 +03:00
magenoxx
614a3b0d13 Added search by sub type in deck editor. 2011-09-28 09:00:15 +04:00
BetaSteward
6daf8c5168 fixed Clone - can now copy cards with shroud and protection 2011-09-27 22:31:33 -04:00
BetaSteward
f2ef2e40e5 fixed ids for copied abilities 2011-09-27 22:27:03 -04:00
North
2e21d38416 Added cards 2011-09-27 23:09:44 +03:00
Loki
d96c983778 fix tooltip and Hoofprints Of The Stag 2011-09-27 13:38:31 +03:00
North
af10364cdf minor 2011-09-26 22:35:13 +03:00
North
2e4d20c84c moved "from graveyard" text from target to filter 2011-09-26 22:00:20 +03:00
North
3c8d43d609 Small changes (usage of SpiritWhiteToken, removed unused imports) 2011-09-25 22:14:45 +03:00
magenoxx
02180fadd9 [ISD] 6 white cards (all white cards implemented) 2011-09-25 01:57:45 +04:00
Loki
1b2d0dd942 [ISD] Ludevic's Test Subject 2011-09-24 12:45:36 +03:00
BetaSteward
d5fc5efe87 ISD - Stony Silence, Intangible Virtue 2011-09-23 12:29:13 -04:00
magenoxx
bfec76c7fc [ISD] 10 white cards 2011-09-23 08:02:34 +04:00
magenoxx
7dc882a1d6 Fixes 2011-09-23 07:35:01 +04:00
BetaSteward
4936db8e45 ISD - Ghostly Possession, Mentor of the Meek, Nevermore 2011-09-22 22:21:46 -04:00
Loki
590218ea98 some cards and fix Gatekeeper of Malakir kicker 2011-09-23 01:14:00 +03:00
North
662e05e765 [ALA] Tezzeret the Seeker
[TMP] Mongrel Pack
2011-09-22 22:29:42 +03:00
magenoxx
6753f0a88f Merge 2011-09-22 20:37:01 +04:00
magenoxx
f60fc5f16c Fixed filter for target"attacking or blocking" - Fixed Divine Verdict. 2011-09-22 20:35:54 +04:00
magenoxx
a6258cfc7e Fixed Chandra Nalaar second ability dealing no damage because of loyalty variable cost.
Fixed DamageAllControlledTargetEffect static text generating.
2011-09-22 17:53:54 +04:00
magenoxx
1397534a1c Fixed GainAbilityAllEffect not working for controlled permanents. Fixed FiresOfYavimaya. 2011-09-22 17:34:31 +04:00
magenoxx
ae159557af fixes in new Garruk. wolf token with deathtouch. 2011-09-22 17:18:54 +04:00
magenoxx
fe45c8adee Added locking stage of dynamic value in BoostControlledEffect 2011-09-22 17:17:43 +04:00
magenoxx
9a8f6e839d Слияние 2011-09-22 13:28:21 +04:00
BetaSteward
bbb4f8a346 fixed issue 255 2011-09-21 23:21:40 -04:00
North
3ff462e20b Modified ExaltedAbility to use fixed target 2011-09-21 23:11:31 +03:00
North
c366f3ed61 Added GoblinToken and refactored cards using it 2011-09-21 23:10:50 +03:00
magenoxx
8aed187209 [ISD] Garruk Relentless // Garruk, the Veil-Cursed 2011-09-21 23:38:24 +04:00
magenoxx
c386e15dff [ISD] Olivia Voldaren 2011-09-21 22:03:42 +04:00
BetaSteward
ee870a8970 changes to support tracking mana sources + some refactoring 2011-09-21 14:01:00 -04:00
magenoxx
b8fc0196b3 [ISD] Travelers Amulet 2011-09-21 21:32:30 +04:00
magenoxx
015ea665af Reimplemented alternative costs a little (converted to interface) 2011-09-21 00:21:07 +04:00
BetaSteward
16aa9ad3da Merge 2011-09-19 15:03:51 -04:00
BetaSteward
4b8d7b2649 NPH - Praetors Grasp 2011-09-19 14:51:10 -04:00
magenoxx
a894d90c29 "Flashback" keyword support 2011-09-19 22:24:44 +04:00
magenoxx
2f60401ca8 Added checking for usesStack value in triggers and abilities 2011-09-19 22:24:18 +04:00
magenoxx
ae1cf1942d Fixed missing license. 2011-09-19 22:23:52 +04:00
Loki
27afa31947 [CHK] Myojin of Cleansing Fire 2011-09-19 20:43:35 +03:00
BetaSteward
d63cdfd131 NPH - Spinebiter 2011-09-19 10:08:54 -04:00
BetaSteward
2d93cd3174 NPH - Cathedral Membrane, Omen Machine, Unwinding Clock 2011-09-18 23:02:32 -04:00
North
84894fbaad [ROE] Aura Gnarlid, Grotag Siege-Runner, Kor Spiritdancer, Merfolk Observer 2011-09-18 23:04:59 +03:00
North
ef8a5eb281 Removed question mark from optional triggered ability (wasn't necessary) 2011-09-18 23:03:55 +03:00
magenoxx
69ebe9aa24 Affinity for artifacts 2011-09-18 20:39:29 +04:00
magenoxx
2d8948b8f6 Changed version from 0.7.5 to 0.7.6 2011-09-18 13:57:43 +04:00
magenoxx
41aae0c71d Images. fix for transform rules text. 2011-09-17 16:54:55 +04:00
magenoxx
e7bb796d48 Double-faced cards support 2011-09-17 16:47:28 +04:00
BetaSteward
ceb54518ed NPH - Chancellor of the Annex, Chancellor of the Spires 2011-09-16 22:36:06 -04:00
magenoxx
f5164fa526 Fixed Anowon, the Ruin Sage 2011-09-17 00:48:35 +04:00
Loki
d05f6e1542 fix 2011-09-16 13:34:13 +03:00
Loki
bb3ce04f27 merge 2011-09-16 13:28:32 +03:00
Loki
b9fce8eb8e little asking text change 2011-09-16 11:30:01 +03:00
magenoxx
925e879fb0 Fixed import (compilation error fix) 2011-09-16 10:55:02 +04:00
BetaSteward
99c11f4fb6 NPH - Chancellor of the Dross, Chancellor of the Forge, Chancellor of the Tangle 2011-09-15 23:07:41 -04:00
Loki
6ab12783c9 fix NPE 2011-09-16 00:00:55 +03:00
Loki
8c98938aa7 reimplement Conqueror's Pledge 2011-09-15 23:25:23 +03:00
Loki
8dfd3bfc9d more work at Kicker - now we shall use special KickerManaCost for it 2011-09-15 23:01:57 +03:00
magenoxx
226a74ebb5 Fixes 2011-09-15 21:23:15 +04:00
BetaSteward
49a0fa6144 NPH - Caged Sun 2011-09-14 23:09:53 -04:00
BetaSteward
89d1850493 created mana added event 2011-09-14 23:09:09 -04:00
BetaSteward
cd81f4197d created events for adding counters to players 2011-09-14 21:31:08 -04:00
Loki
e47cf9cefc merge 2011-09-14 22:52:16 +03:00
Loki
99966e799b Affinity (currently broken) 2011-09-14 22:47:03 +03:00
magenoxx
1e172b0a45 Reimplemented 2 cards with kicker. 2011-09-14 23:12:15 +04:00
BetaSteward
3e3e4f4181 NPH - Vorinclex, Voice of Hunger 2011-09-14 12:47:35 -04:00
BetaSteward
5c01b832b9 refactored targets 2011-09-14 12:46:47 -04:00
Loki
7b5abdd20f Small changes 2011-09-14 11:58:24 +03:00
magenoxx
d9f846f783 Fixed NPE in SetCardSubtypeAttachedEffect 2011-09-14 12:50:29 +04:00
magenoxx
15212bccc9 Reimplemented Vines Of Vastwood (new way for implementing spells with kicker) 2011-09-14 09:21:12 +04:00
magenoxx
cc415c586d Fixed optional costs. Now new implemenation of kicker should work. 2011-09-14 00:35:44 +04:00
magenoxx
a07c210ac0 Added UUID to costs (required for optional costs for kicker) 2011-09-14 00:35:02 +04:00
BetaSteward
61638f6453 NPH - Spellskite 2011-09-12 22:58:01 -04:00
BetaSteward
8c011aeb36 fixed invalid deck messages + added some banned/restricted cards 2011-09-12 22:10:59 -04:00
BetaSteward
2c8f9ce688 fixed another NPE 2011-09-12 21:19:18 -04:00
BetaSteward
ad4b4e82c2 fixed various NPEs 2011-09-12 21:15:54 -04:00
BetaSteward
d01c992f2e fixed not serializable error 2011-09-12 21:15:09 -04:00
North
17ca2de0c9 Fixes issue 253.
This needs a review. I couldn't see any need for the second loop which would be infinite for targets with no upper limit.
2011-09-12 22:49:49 +03:00
Loki
58fd018db2 some work at otional cost. not finished. Desolation agel broken for testing 2011-09-11 23:34:29 +03:00
magenoxx
e5e850a30b MorbitCondition 2011-09-11 00:39:58 +04:00
magenoxx
436f4923cd [ISD] 5 green cards 2011-09-10 12:23:33 +04:00
BetaSteward
cdd0ba6d0c NPH - Karn Liberated 2011-09-09 23:07:24 -04:00
magenoxx
7013ceeb0e Fixed play with top revealed not discared. 2011-09-09 00:35:41 +04:00
Loki
e3862a685a [NPH] Ichor Explosion 2011-09-08 22:59:31 +03:00
magenoxx
d3dfb67ffc Mage UserData serializable. 2011-09-08 19:37:20 +04:00
magenoxx
33be6bd828 UserDataView. More custom avatars. 2011-09-08 10:41:52 +04:00
magenoxx
bf1a49dd0b Sending user data. Sending avatar to server on connect. 2011-09-07 21:18:58 +04:00
Loki
ad499f8c4a Some BOK cards 2011-09-06 22:11:56 +03:00
Loki
3d98484366 Few more Lorwyn cards + filter fixes 2011-09-06 20:23:10 +03:00
BetaSteward
6d4c3aa8d9 fixed issue 242 - check all modes for targets 2011-09-05 22:02:50 -04:00
Loki
ac70150512 [MRD] Oblivion Stone 2011-09-04 23:04:09 +03:00
BetaSteward
fe79ee97a9 update deck every 5 seconds while constructing or sideboarding 2011-09-04 13:23:16 -04:00
Loki
beb2eb8e27 merge 2011-09-04 16:28:34 +03:00
Loki
1ffa8f41c7 add FilterSpiritOrArcaneCard, refactoring 2011-09-04 16:26:49 +03:00
BetaSteward
ea44fc973f added timeout on sideboard + show construct and/or sideboard on reconnect 2011-09-03 21:44:05 -04:00
Loki
12901d3744 CON 2011-09-03 12:13:53 +03:00
North
e708c2b74a Fixes to rule text 2011-09-02 20:34:45 +03:00
North
d4a2701424 [NPH] Numbing Dose, Xenograft 2011-09-02 20:28:07 +03:00
magenoxx
0fbc805492 Lowered version from 0.8 to 0.7.5 for release. 2011-09-02 08:18:49 +04:00
BetaSteward
4fad2ede12 ISD - Reaper from the Abyss 2011-09-01 20:57:33 -04:00
magenoxx
e69f9e28d5 Fixed bug in targeting. Fixed Issue 231. 2011-09-02 00:36:02 +04:00