mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
* Kicker and Multikicker - Fixed a bug that the kicked status was not reset if needed (e.g. a Quag Vampires returning from exile of Fiend Hunter had again +1/+1 counters if he was kicked before).
This commit is contained in:
parent
1ab6b72e8a
commit
8259814afd
5 changed files with 42 additions and 14 deletions
|
|
@ -106,7 +106,7 @@ class RumblingAftershocksTriggeredAbility extends TriggeredAbilityImpl<RumblingA
|
|||
int damageAmount = 0;
|
||||
for (Ability ability: (Abilities<Ability>) spell.getAbilities()) {
|
||||
if (ability instanceof KickerAbility) {
|
||||
damageAmount += ((KickerAbility) ability).getKickedCounter();
|
||||
damageAmount += ((KickerAbility) ability).getKickedCounter(game);
|
||||
}
|
||||
}
|
||||
if (damageAmount > 0) {
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ public class BoldDefense extends CardImpl<BoldDefense> {
|
|||
|
||||
|
||||
ContinuousEffect effect = new GainAbilityControlledEffect(FirstStrikeAbility.getInstance(), Duration.EndOfTurn, new FilterCreaturePermanent(), false);
|
||||
this.getSpellAbility().addEffect(new ConditionalContinousEffect(effect, KickedCondition.getInstance(), staticText));
|
||||
this.getSpellAbility().addEffect(new ConditionalContinousEffect(effect, KickedCondition.getInstance(), staticText, true));
|
||||
}
|
||||
|
||||
public BoldDefense(final BoldDefense card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue