[GRN] Added Venerated Loxodon.

This commit is contained in:
LevelX2 2018-09-15 19:29:19 +02:00
parent ba8b2a609a
commit abc0d0b68f
4 changed files with 154 additions and 1 deletions

View file

@ -1,4 +1,3 @@
package mage.abilities.keyword;
import java.util.ArrayList;
@ -25,6 +24,7 @@ import mage.filter.predicate.Predicates;
import mage.filter.predicate.mageobject.ColorPredicate;
import mage.filter.predicate.permanent.TappedPredicate;
import mage.game.Game;
import mage.game.events.GameEvent;
import mage.game.permanent.Permanent;
import mage.players.ManaPool;
import mage.players.Player;
@ -223,6 +223,7 @@ class ConvokeEffect extends OneShotEffect {
manaPool.unlockManaType(ManaType.COLORLESS);
manaName = "colorless";
}
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.CONVOKED, perm.getId(), source.getSourceId(), source.getControllerId()));
game.informPlayers("Convoke: " + controller.getLogName() + " taps " + perm.getLogName() + " to pay one " + manaName + " mana");
}

View file

@ -72,6 +72,12 @@ public class GameEvent implements Serializable {
MADNESS_CARD_EXILED,
INVESTIGATED,
KICKED,
/* CONVOKED
targetId id of the creature that was taped to convoke the sourceId
sourceId sourceId of the convoked spell
playerId controller of the convoked spell
*/
CONVOKED,
DISCARD_CARD,
DISCARDED_CARD,
CYCLE_CARD, CYCLED_CARD,