mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
[SNC] Implemented Obscura Charm
This commit is contained in:
parent
defc1a40b7
commit
ec4feaddfe
4 changed files with 70 additions and 3 deletions
|
|
@ -50,15 +50,16 @@ public class Mode implements Serializable {
|
|||
return targets;
|
||||
}
|
||||
|
||||
public void addTarget(Target target) {
|
||||
this.addTarget(target, false);
|
||||
public Mode addTarget(Target target) {
|
||||
return this.addTarget(target, false);
|
||||
}
|
||||
|
||||
public void addTarget(Target target, Boolean addChooseHintFromEffect) {
|
||||
public Mode addTarget(Target target, Boolean addChooseHintFromEffect) {
|
||||
targets.add(target);
|
||||
if (addChooseHintFromEffect) {
|
||||
target.withChooseHint(this.getEffects().getText(this));
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public Effects getEffects() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue