Browse Source

NPC buy/sell use DB values

lakebane-master
FatBoy-DOTC 9 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 { @@ -121,8 +121,8 @@ public class NPC extends AbstractCharacter {
// this.buyPercent = rs.getFloat("npc_buyPercent");
this.buyPercent = .33f;
this.sellPercent = 1;
this.buyPercent = rs.getFloat("npc_buyPercent");
this.sellPercent = rs.getFloat("npc_sellPercent");
this.setRot(new Vector3f(0, rs.getFloat("npc_rotation"), 0));

Loading…
Cancel
Save