mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Inner Struggle fixes so creature is source of damage done to itself
This commit is contained in:
parent
f807fed12c
commit
4a162dd609
2 changed files with 3 additions and 3 deletions
|
@ -64,9 +64,9 @@ public class LovisaColdeyes extends CardImpl {
|
|||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Each creature you control that's a Barbarian, a Warrior, or a Berserker gets +2/+2 and has haste.
|
||||
// Each creature that's a Barbarian, a Warrior, or a Berserker gets +2/+2 and has haste.
|
||||
Effect effect = new BoostAllEffect(2, 2, Duration.WhileOnBattlefield, filter, false);
|
||||
effect.setText("Each creature you control that's a Barbarian, a Warrior, or a Berserker gets +2/+2");
|
||||
effect.setText("Each creature that's a Barbarian, a Warrior, or a Berserker gets +2/+2");
|
||||
Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
|
||||
effect = new GainAbilityAllEffect(HasteAbility.getInstance(), Duration.WhileOnBattlefield, filter, false);
|
||||
effect.setText("and has haste");
|
||||
|
|
|
@ -87,7 +87,7 @@ class InnerStruggleEffect extends OneShotEffect {
|
|||
if (controller != null) {
|
||||
Permanent targetCreature = game.getPermanent(getTargetPointer().getFirst(game, source));
|
||||
if (targetCreature != null) {
|
||||
targetCreature.damage(targetCreature.getPower().getValue(), source.getSourceId(), game, false, true);
|
||||
targetCreature.damage(targetCreature.getPower().getValue(), targetCreature.getId(), game, false, true);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue