Fix investigate effect text

This commit is contained in:
PurpleCrowbar 2024-03-01 00:11:30 +00:00
parent c8a9a1a9db
commit c39c8be9b6

View file

@ -76,9 +76,6 @@ public class InvestigateEffect extends OneShotEffect {
}
private String makeText(boolean showAbilityHint) {
if (!showAbilityHint) {
return "investigate";
}
String message;
if (amount instanceof StaticValue) {
int value = ((StaticValue) amount).getValue();
@ -95,7 +92,8 @@ public class InvestigateEffect extends OneShotEffect {
} else {
message = " X times, where X is the " + amount.getMessage() + ". <i>(To investigate, c";
}
return "investigate" + message + "reate a Clue token. " +
String finalMessage = "investigate" + message + "reate a Clue token. " +
"It's an artifact with \"{2}, Sacrifice this artifact: Draw a card.\")</i>";
return showAbilityHint ? finalMessage : CardUtil.stripReminderText(finalMessage);
}
}