mirror of
https://github.com/correl/mage.git
synced 2025-02-27 03:45:09 +00:00
fixed incomplete code
This commit is contained in:
parent
35be23537f
commit
1f6332d658
1 changed files with 7 additions and 7 deletions
|
@ -74,16 +74,16 @@ public class ReturnToHandFromGraveyardAllEffect extends OneShotEffect {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getText(Mode mode) {
|
public String getText(Mode mode) {
|
||||||
if(staticText!=null&&!staticText.isEmpty()){
|
if (staticText != null && !staticText.isEmpty()) {
|
||||||
return staticText;
|
return staticText;
|
||||||
}
|
}
|
||||||
String rule="";
|
switch (targetController) {
|
||||||
switch (targetController){
|
case OPPONENT:
|
||||||
case EACH_PLAYER:
|
return "each opponent returns each " + filter.getMessage() + " from their graveyard to their hand";
|
||||||
rule+="each player";break;
|
|
||||||
case OPPONENT:rule+="opponent";break;
|
|
||||||
case YOU:
|
case YOU:
|
||||||
|
return "return each " + filter.getMessage() + " from your graveyard to your hand";
|
||||||
|
default:
|
||||||
|
return "each player returns each " + filter.getMessage() + " from their graveyard to their hand";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue