diff --git a/src/engine/objects/NPC.java b/src/engine/objects/NPC.java index b3b3aed5..24f59898 100644 --- a/src/engine/objects/NPC.java +++ b/src/engine/objects/NPC.java @@ -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));