mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Savage Punch - Fixed that the conditional boost did not work correctly.
This commit is contained in:
parent
100decf7ce
commit
f83fbaa8ff
1 changed files with 3 additions and 1 deletions
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.khansoftarkir;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.condition.FixedCondition;
|
||||
import mage.abilities.condition.LockedInCondition;
|
||||
import mage.abilities.condition.common.FerociousCondition;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
|
@ -65,7 +67,7 @@ public class SavagePunch extends CardImpl {
|
|||
// <i>Ferocious</i> - The creature you control gets +2/+2 until end of turn before it fights if you control a creature with power 4 or greater.
|
||||
Effect effect = new ConditionalContinousEffect(
|
||||
new BoostTargetEffect(2,2,Duration.EndOfTurn),
|
||||
FerociousCondition.getInstance(),
|
||||
new LockedInCondition(FerociousCondition.getInstance()),
|
||||
"<i>Ferocious</i> - The creature you control gets +2/+2 until end of turn before it fights if you control a creature with power 4 or greater");
|
||||
effect.setApplyEffectsAfter();
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
|
|
Loading…
Reference in a new issue