mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
[KTK] Fixed Siege Rhino.
This commit is contained in:
parent
d3df5727b1
commit
dcadaf50d0
1 changed files with 4 additions and 4 deletions
|
|
@ -32,13 +32,12 @@ import mage.MageInt;
|
|||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.DamagePlayersEffect;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.abilities.effects.common.LoseLifeOpponentsEffect;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.constants.TargetController;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -59,8 +58,9 @@ public class SiegeRhino extends CardImpl {
|
|||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// When Siege Rhino enters the battlefield, each opponent loses 3 life and you gain 3 life.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DamagePlayersEffect(3, TargetController.OPPONENT));
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new LoseLifeOpponentsEffect(3));
|
||||
Effect effect = new GainLifeEffect(3);
|
||||
effect.setText("and you gain 3 life");
|
||||
ability.addEffect(effect);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue