mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Fixed Amulet of Vigor. Fixed Purestell Paladin. Fixed Issue 370.
This commit is contained in:
parent
0fc4cc4e28
commit
dc1725ce63
2 changed files with 3 additions and 2 deletions
|
@ -109,7 +109,8 @@ class PuresteelPaladinTriggeredAbility extends TriggeredAbilityImpl<PuresteelPal
|
|||
ZoneChangeEvent zEvent = (ZoneChangeEvent) event;
|
||||
if (zEvent.getToZone() == Constants.Zone.BATTLEFIELD) {
|
||||
Permanent permanent = game.getPermanent(event.getTargetId());
|
||||
if (permanent != null && permanent.getSubtype().contains("Equipment")) {
|
||||
if (permanent != null && permanent.getSubtype().contains("Equipment")
|
||||
&& permanent.getControllerId().equals(this.controllerId)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -84,7 +84,7 @@ class AmuletOfVigorTriggeredAbility extends TriggeredAbilityImpl<AmuletOfVigorTr
|
|||
ZoneChangeEvent zEvent = (ZoneChangeEvent) event;
|
||||
if (zEvent.getToZone() == Constants.Zone.BATTLEFIELD) {
|
||||
Permanent p = game.getPermanent(event.getTargetId());
|
||||
if (p != null && p.isTapped()) {
|
||||
if (p != null && p.isTapped() && p.getControllerId().equals(this.controllerId)) {
|
||||
for (Effect effect : this.getEffects()) {
|
||||
effect.setTargetPointer(new FixedTarget(event.getTargetId()));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue