mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
* Fixed some corner cases for Worl Enchantment State-Based actions (704.5k).
This commit is contained in:
parent
a2ae232b43
commit
ecc05f9535
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ public class SerializationTest extends CardTestPlayerBase {
|
|||
public void test_PermanentImpl_Simple() {
|
||||
CardInfo cardInfo = CardRepository.instance.findCard("Balduvian Bears");
|
||||
PermanentImpl permanent = new PermanentCard(cardInfo.getCard(), playerA.getId(), currentGame);
|
||||
currentGame.addPermanent(permanent);
|
||||
currentGame.addPermanent(permanent, 0);
|
||||
|
||||
Object compressed = CompressUtil.compress(permanent);
|
||||
Assert.assertTrue("Must be zip", compressed instanceof ZippedObjectImpl);
|
||||
|
@ -37,7 +37,7 @@ public class SerializationTest extends CardTestPlayerBase {
|
|||
public void test_PermanentImpl_MarkedDamageInfo() {
|
||||
CardInfo cardInfo = CardRepository.instance.findCard("Balduvian Bears");
|
||||
PermanentImpl permanent = new PermanentCard(cardInfo.getCard(), playerA.getId(), currentGame);
|
||||
currentGame.addPermanent(permanent);
|
||||
currentGame.addPermanent(permanent, 0);
|
||||
|
||||
// mark damage from infected ability
|
||||
permanent.addAbility(InfectAbility.getInstance(), null, currentGame);
|
||||
|
|
Loading…
Reference in a new issue