mirror of
https://github.com/correl/mage.git
synced 2024-12-30 19:10:36 +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
|
||||
public String getText(Mode mode) {
|
||||
if(staticText!=null&&!staticText.isEmpty()){
|
||||
if (staticText != null && !staticText.isEmpty()) {
|
||||
return staticText;
|
||||
}
|
||||
String rule="";
|
||||
switch (targetController){
|
||||
case EACH_PLAYER:
|
||||
rule+="each player";break;
|
||||
case OPPONENT:rule+="opponent";break;
|
||||
switch (targetController) {
|
||||
case OPPONENT:
|
||||
return "each opponent returns each " + filter.getMessage() + " from their graveyard to their hand";
|
||||
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…
Reference in a new issue