Frankenstein's Monster and Hydradoodle fixes

This commit is contained in:
Adam Pantel
2021-03-04 09:12:06 -05:00
parent 35b1fde876
commit d0fbd04081
3 changed files with 8 additions and 6 deletions

View File

@@ -68,8 +68,10 @@ public class RollDiceEffect extends SpellAbilityEffect {
total += roll;
}
String message = Localizer.getInstance().getMessage("lblPlayerRolledResult", player, StringUtils.join(rolls, ", "));
player.getGame().getAction().nofityOfValue(sa, player, message, null);
if (amount > 0) {
String message = Localizer.getInstance().getMessage("lblPlayerRolledResult", player, StringUtils.join(rolls, ", "));
player.getGame().getAction().nofityOfValue(sa, player, message, null);
}
if (sa.hasParam("ResultSVar")) {
host.setSVar(sa.getParam("ResultSVar"), ""+total);