forked from MagicBane/Server
NPC buy/sell use DB values
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user