mirror of
https://github.com/magefree/mage.git
synced 2026-01-19 18:00:01 -08:00
Rite of the Raging Storm - Fixed some minor bugs (fixes #2584).
This commit is contained in:
parent
17d7796325
commit
7cd105b951
2 changed files with 37 additions and 6 deletions
|
|
@ -89,12 +89,10 @@ public class RiteOfTheRagingStorm extends CardImpl {
|
|||
|
||||
class RiteOfTheRagingStormEffect extends OneShotEffect {
|
||||
|
||||
private static final String effectText = "that player creates a 5/1 red Elemental creature token named Lightning Rager. "
|
||||
+ "It has trample, haste, and \"At the beginning of the end step, sacrifice this creature.\"";
|
||||
|
||||
RiteOfTheRagingStormEffect() {
|
||||
super(Outcome.Sacrifice);
|
||||
staticText = effectText;
|
||||
staticText = "that player creates a 5/1 red Elemental creature token named Lightning Rager. "
|
||||
+ "It has trample, haste, and \"At the beginning of the end step, sacrifice this creature.\"";
|
||||
}
|
||||
|
||||
RiteOfTheRagingStormEffect(RiteOfTheRagingStormEffect effect) {
|
||||
|
|
@ -105,8 +103,7 @@ class RiteOfTheRagingStormEffect extends OneShotEffect {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Player player = game.getPlayer(targetPointer.getFirst(game, source));
|
||||
if (player != null) {
|
||||
Token lightningRagerToken = new LightningRagerToken();
|
||||
lightningRagerToken.putOntoBattlefield(1, game, this.getId(), player.getId());
|
||||
return new LightningRagerToken().putOntoBattlefield(1, game, source.getSourceId(), player.getId());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue