mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
Fix build verify
This commit is contained in:
parent
02603f8339
commit
b0384dc09c
1 changed files with 5 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ public class BecomesCreatureTargetEffect extends ContinuousEffectImpl {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param token
|
* @param token
|
||||||
* @param loseAllAbilities loses all subtypes, colors and abilities
|
* @param loseAllAbilities loses all creature subtypes, colors and abilities
|
||||||
* @param stillALand add rule text, "it's still a land"
|
* @param stillALand add rule text, "it's still a land"
|
||||||
* @param loseName permanent loses name and gets it from token
|
* @param loseName permanent loses name and gets it from token
|
||||||
* @param keepAbilities lose subtypes/colors, but keep abilities (example:
|
* @param keepAbilities lose subtypes/colors, but keep abilities (example:
|
||||||
|
|
@ -94,7 +94,10 @@ public class BecomesCreatureTargetEffect extends ContinuousEffectImpl {
|
||||||
if (loseOtherCardTypes) {
|
if (loseOtherCardTypes) {
|
||||||
permanent.removeAllCardTypes(game);
|
permanent.removeAllCardTypes(game);
|
||||||
}
|
}
|
||||||
if (loseAllAbilities || keepAbilities || removeSubtypes) {
|
if (loseAllAbilities) {
|
||||||
|
permanent.removeAllCreatureTypes(game);
|
||||||
|
}
|
||||||
|
if (keepAbilities || removeSubtypes) {
|
||||||
permanent.removeAllSubTypes(game);
|
permanent.removeAllSubTypes(game);
|
||||||
}
|
}
|
||||||
for (CardType t : token.getCardType(game)) {
|
for (CardType t : token.getCardType(game)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue