mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
- Hopefully the last fix for Lazav. Too much vodka.
This commit is contained in:
parent
33e4670cd1
commit
84ab7aaf3b
1 changed files with 2 additions and 0 deletions
|
@ -154,6 +154,7 @@ class LazavDimirEffect extends ContinuousEffectImpl<LazavDimirEffect> {
|
|||
permanent.getCardType().add(type);
|
||||
}
|
||||
}
|
||||
permanent.getSubtype().clear();
|
||||
for (String type : card.getSubtype()) {
|
||||
if (!permanent.getSubtype().contains(type)) {
|
||||
permanent.getSubtype().add(type);
|
||||
|
@ -169,6 +170,7 @@ class LazavDimirEffect extends ContinuousEffectImpl<LazavDimirEffect> {
|
|||
permanent.setExpansionSetCode(card.getExpansionSetCode());
|
||||
permanent.getAbilities().clear();
|
||||
permanent.getAbilities().add(HexproofAbility.getInstance());
|
||||
permanent.addAbility(new CreatureCardPutOpponentGraveyardTriggeredAbility(), source.getSourceId(), game);
|
||||
for (Ability ability : card.getAbilities()) {
|
||||
if (!permanent.getAbilities().contains(ability)) {
|
||||
permanent.addAbility(ability, source.getId(), game);
|
||||
|
|
Loading…
Reference in a new issue