Skip to content

Commit

Permalink
fix bug with superUniques and TC rows. function bumpTC
Browse files Browse the repository at this point in the history
  • Loading branch information
pairofdocs committed Jun 19, 2021
1 parent 8871bf6 commit 9707ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gomule/src/gomule/dropCalc/monsters/Monster.java
Expand Up @@ -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");
}
Expand Down

1 comment on commit 9707ea8

@pairofdocs
Copy link
Owner Author

@pairofdocs pairofdocs commented on 9707ea8 Jun 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Colab with etale#9303 on discord

etale noticed the bug and several others (Snapchip and Frozenstein) with dropCalc

Refs from etale: https://www.diabloii.net/forums/threads/how-the-1-10-pindleskin-nerf-failed-and-snapchip-suffered.965773/

Please sign in to comment.