Commit graph

22873 commits

Author SHA1 Message Date
BetaSteward
377dd54fca single-threaded monte carlo + some fixes 2012-01-16 18:55:35 -05: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
c1a02e9418 2 new cards
[CHK] Hisoka, Minamo Sensei / Hisoka's Guard

Fixes
Hankyu - fixed possible null pointer exception
HamletCaptain - fixed issue 446
RakishHeir - fixed issue 445
Levitation - minor text change
2012-01-15 01:54:12 +01: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
BetaSteward
7df6bb8db6 add step name to message 2012-01-10 21:09:11 -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
North
97b1b7fde4 [M10] Capricious Efreet; Coat of Arms; Guardian Seraph; Panic Attack
[SOK] Michiko Konda, Truth Seeker
[ARB] Retaliator Griffin
[MRD] Farsight Mask
2012-01-01 22:50:11 +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
569d2c240a Fixed Issue 424.
Number of poison counters not updated when winning the game with an attack.
2011-12-30 17:27:40 +04:00
magenoxx
259fce0182 Fixed phyrexian mana can't be paid when player has 2 life. 2011-12-30 17:04:23 +04:00
Loki
4be5ae4fd0 fix Pendelhaven 2011-12-29 15:08:00 +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
Loki
d0b82cb1b0 fix char case 2011-12-27 00:40:28 +04:00
magenoxx
3d4d3a0b34 one more 2011-12-26 22:23:00 +04:00
magenoxx
c570ea4e61 Lots of decks submitted by Iran. 2011-12-26 22:22:00 +04:00
magenoxx
4c7cbfa9dd Added server configs to release folder for embedded server. 2011-12-26 21:46:59 +04:00
LevelX
e132eb6b69 New Cards [CHK] Kumano, Master Yamabushi / Long-Forgotten Gohei / Terashi's Cry / Unearthly Blizzard / Yamabushi's Flame / Yamabushi's Storm 2011-12-26 17:39:20 +01:00
LevelX
bbe2bbd965 Fixes
[CHK] Earthshaker - fixed ability to damage all w/o flying,
[CHK] Zuberas - fixed text string,
[CON] Scepter of Fugue - fixed Target,
some minor text/comment fixes
2011-12-26 14:58:38 +01:00
magenoxx
4d9493a256 Update jars. BugCantFindCardInLibrary now works. 2011-12-26 18:49:32 +04:00
Loki
0980ca5948 fix deadloop (need testing) 2011-12-26 17:52:52 +04:00
Loki
37416b5ee0 merge 2011-12-26 17:32:56 +04:00
Loki
dfddc70984 test for game hangs when computer cant find card in library 2011-12-26 17:30:55 +04:00
magenoxx
f6f769725f Fixed saving games became broken. 2011-12-26 15:24:29 +04:00
magenoxx
fa9f6115cf author fix in test comments 2011-12-26 13:47:15 +04:00
magenoxx
86bd2d3c40 Update test for attacking AI. Sometime reproduces not attacking with Zephyr Sprite. 2011-12-26 13:46:18 +04:00
magenoxx
a0866ef602 RegenerateAbilityTest. Make sure AI blocks, chooses biggest creature to block and uses regenerate ability. 2011-12-26 13:30:59 +04:00
magenoxx
eb0bc89597 Tree optimizers. Fixed Issue 420. 2011-12-26 12:52:31 +04:00
magenoxx
a71ce5c405 Update EquipAbilityTest. Reproduces Issue 420. 2011-12-26 10:55:07 +04:00
magenoxx
3f8ce6d44f MageDrawAction drawn cards count fix. 2011-12-26 07:54:18 +04:00
Loki
988563f6a6 some Tempest cards 2011-12-25 17:21:24 +04:00
magenoxx
3f20b725db [MAD2.0] New scoring and undo system. Migrated draw cards action. 2011-12-25 11:42:32 +04:00
magenoxx
24dea6a02c updated jars 2011-12-24 22:21:37 +04:00
magenoxx
d004525027 Test for equip ability. 2011-12-24 20:15:03 +04:00
magenoxx
e5999166d8 updated jars 2011-12-24 19:37:01 +04:00
magenoxx
8e178478e2 [Mage.Tests] Now all tests work. 2011-12-24 19:33:24 +04:00
magenoxx
cdb9cd69ff Now AI will use all abilities without paying attention to effect outcome.
This fixes ObNixilistheFallenTest.
2011-12-24 19:25:28 +04:00
magenoxx
f134a79203 Added test for additional damage from AI after combat. Fixed NimShamblerTest. 2011-12-24 19:00:10 +04:00
magenoxx
3e3a930794 Added additional test for combat (ai shouldn't attack against creatures with double strike). 2011-12-24 18:59:22 +04:00
magenoxx
53e9d2752b Fixed combat actions in MAD AI. Updated tests. 2011-12-24 18:45:13 +04:00
Loki
1f259ec772 fix symbol downloading for PLS and INV 2011-12-24 17:21:14 +04:00