From 9707ea8750923b6f1770c6947079f9136743cc0a Mon Sep 17 00:00:00 2001 From: pairofdocs Date: Sat, 19 Jun 2021 13:47:18 -0500 Subject: [PATCH] fix bug with superUniques and TC rows. function bumpTC --- gomule/src/gomule/dropCalc/monsters/Monster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gomule/src/gomule/dropCalc/monsters/Monster.java b/gomule/src/gomule/dropCalc/monsters/Monster.java index 3c1702b..cf705ce 100644 --- a/gomule/src/gomule/dropCalc/monsters/Monster.java +++ b/gomule/src/gomule/dropCalc/monsters/Monster.java @@ -166,7 +166,7 @@ protected String bumpTC(String initTC, int lvl) { initTCRow = new D2TxtFileItemProperties(D2TxtFile.TCS, initTCRow.getRowNum()+1); }else{ if(Integer.parseInt(initTCRow.get("level"))>lvl){ - return new D2TxtFileItemProperties(D2TxtFile.TCS, initTCRow.getRowNum()).get("Treasure Class"); + return new D2TxtFileItemProperties(D2TxtFile.TCS, initTCRow.getRowNum()-1).get("Treasure Class"); }else{ return initTCRow.get("Treasure Class"); }