Slots are slots; blueprint logic not needed on back-end.

This commit is contained in:
2023-04-04 11:08:07 -04:00
parent 84bae3141c
commit 1cb103c156
2 changed files with 9 additions and 5 deletions
+5 -3
View File
@@ -216,10 +216,12 @@ public class NPC extends AbstractCharacter {
}
this.name = rs.getString("npc_name");
this.buyPercent = rs.getFloat("npc_buyPercent");
if (this.buyPercent == 1)
this.buyPercent = .33f;
// Most objects from the cache have a default buy
// percentage of 100% which was a dupe source due
// to the way MB calculated item values.
// this.buyPercent = rs.getFloat("npc_buyPercent");
this.buyPercent = .33f;
this.sellPercent = 1;