mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
* Bramblewood Paragon - Fixed subtype check (not working for Changeling).
This commit is contained in:
parent
5670831b62
commit
f96a256c28
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class BramblewoodParagonReplacementEffect extends ReplacementEffectImpl {
|
||||||
Permanent creature = game.getPermanent(event.getTargetId());
|
Permanent creature = game.getPermanent(event.getTargetId());
|
||||||
if (creature != null && creature.getControllerId().equals(source.getControllerId())
|
if (creature != null && creature.getControllerId().equals(source.getControllerId())
|
||||||
&& creature.getCardType().contains(CardType.CREATURE)
|
&& creature.getCardType().contains(CardType.CREATURE)
|
||||||
&& creature.getSubtype().contains("Warrior")
|
&& creature.hasSubtype("Warrior")
|
||||||
&& !event.getTargetId().equals(source.getSourceId())) {
|
&& !event.getTargetId().equals(source.getSourceId())) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue