Browse Source

NPC buy/sell use DB values

lakebane-master
FatBoy-DOTC 7 months ago
parent
commit
8cdd4910ca
  1. 4
      src/engine/objects/NPC.java

4
src/engine/objects/NPC.java

@ -121,8 +121,8 @@ public class NPC extends AbstractCharacter {
// this.buyPercent = rs.getFloat("npc_buyPercent"); // this.buyPercent = rs.getFloat("npc_buyPercent");
this.buyPercent = .33f; this.buyPercent = rs.getFloat("npc_buyPercent");
this.sellPercent = 1; this.sellPercent = rs.getFloat("npc_sellPercent");
this.setRot(new Vector3f(0, rs.getFloat("npc_rotation"), 0)); this.setRot(new Vector3f(0, rs.getFloat("npc_rotation"), 0));

Loading…
Cancel
Save