Skip to content

Commit

Permalink
v2.5.4: fixed errors with dmg numbers in bomb descs
Browse files Browse the repository at this point in the history
  • Loading branch information
00-Evan committed Oct 8, 2024
1 parent e92ed12 commit 77ea415
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,13 @@ public int value() {

@Override
public String desc() {
int depth = Dungeon.depth == -1 ? 1 : Dungeon.depth;
int depth = Dungeon.hero == null ? 1 : Dungeon.scalingDepth();
String desc = Messages.get(this, "desc", 4+depth, 12+3*depth);
if (fuse == null)
if (fuse == null) {
return desc + "\n\n" + Messages.get(this, "desc_fuse");
else
} else {
return desc + "\n\n" + Messages.get(this, "desc_burning");
}
}

private static final String FUSE = "fuse";
Expand Down

0 comments on commit 77ea415

Please sign in to comment.