mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
Improved target messages for users: added extra hints;
Applied Biomancy - added target's choose hints;
This commit is contained in:
parent
91a3328907
commit
ff5839860e
5 changed files with 52 additions and 49 deletions
|
|
@ -1,14 +1,14 @@
|
|||
package mage.abilities;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.Effects;
|
||||
import mage.target.Target;
|
||||
import mage.target.Targets;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class Mode implements Serializable {
|
||||
|
|
@ -53,7 +53,14 @@ public class Mode implements Serializable {
|
|||
}
|
||||
|
||||
public void addTarget(Target target) {
|
||||
this.addTarget(target, false);
|
||||
}
|
||||
|
||||
public void addTarget(Target target, Boolean addChooseHintFromEffect) {
|
||||
targets.add(target);
|
||||
if (addChooseHintFromEffect) {
|
||||
target.withChooseHint(this.getEffects().getText(this));
|
||||
}
|
||||
}
|
||||
|
||||
public Effects getEffects() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue