1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-09 09:11:05 -09:00

Homing Sliver: use hasSubtype to check Sliver cards

This commit is contained in:
Luna Skyrise 2015-05-11 19:18:22 -03:00
parent 0b712fc3e7
commit ee8b5116e6

View file

@ -160,7 +160,7 @@ class HomingSliverEffect extends ContinuousEffectImpl {
if (affectedObjectList.contains(new MageObjectReference(cardId, game))) {
Card card = game.getCard(cardId);
CyclingAbility ability = null;
if (card.getSubtype().contains("Sliver")) {
if (card.hasSubtype("Sliver")) {
ability = new CyclingAbility(new ManaCostsImpl("{3}"), filter2, "Slivercycling");
}
if (ability != null) {