[C21] Implemented Battlemage's Braces

This commit is contained in:
Evan Kranzler 2021-04-19 18:07:23 -04:00
parent fbbdb2431d
commit de3388348e
8 changed files with 199 additions and 218 deletions

View file

@ -48,14 +48,14 @@ public class ActivatePlaneswalkerLoyaltyAbilityTriggeredAbility extends Triggere
|| !permanent.hasSubtype(planeswalkerSubType, game)) {
return false;
}
Effect effect = this.getEffects().get(0);
effect.setValue("stackAbility", stackAbility);
this.getEffects().setValue("stackAbility", stackAbility);
return true;
}
@Override
public String getRule() {
return "Whenever you activate a loyalty ability of a " + planeswalkerSubType.getDescription() + " planeswalker, " +
this.getEffects().get(0).getText(getModes().getMode()) + ".";
return "Whenever you activate a loyalty ability of a "
+ planeswalkerSubType.getDescription()
+ " planeswalker, " + super.getRule();
}
}