mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
* Gonti’s Machinations - Fixed that it triggered more than once per turn.
This commit is contained in:
parent
16648e53d1
commit
d68ff964fb
2 changed files with 3 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ public class SacrificeTargetCost extends CostImpl {
|
|||
target.setNotTarget(true); // sacrifice is never targeted
|
||||
this.text = "sacrifice "
|
||||
+ ((target.getNumberOfTargets() != 1 || (target.getTargetName().startsWith("an") || target.getTargetName().startsWith("a ")))
|
||||
? "" : "a ") + target.getTargetName();
|
||||
? "" : (target.getTargetName().startsWith("artifact") ? "an " : "a ")) + target.getTargetName();
|
||||
target.setTargetName(target.getTargetName() + " (to sacrifice)");
|
||||
}
|
||||
|
||||
|
|
@ -123,4 +123,4 @@ public class SacrificeTargetCost extends CostImpl {
|
|||
public List<Permanent> getPermanents() {
|
||||
return permanents;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue