mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
[GRN] Added Venerated Loxodon.
This commit is contained in:
parent
ba8b2a609a
commit
abc0d0b68f
4 changed files with 154 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue