runey work > profit slider

This commit is contained in:
2024-02-18 16:06:09 -06:00
parent e93f09c184
commit 0437f10bf9
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -633,12 +633,15 @@ public class WorldServer {
//add extra vendors for lakebane
try {
NPC runeMerchant = NPC.createNPC("Runey", 1200, new Vector3fImmutable(88862f, 33f, 44997f), Guild.getGuild(6), ZoneManager.getZoneByUUID(656), (short) 70, null);
runeMerchant.sellPercent = 10000;
runeMerchant.sellPercent = 0;
Building sdrHut = BuildingManager.getBuilding(27979);
runeMerchant.buildingUUID = sdrHut.getObjectUUID();
runeMerchant.building = sdrHut;
NPCManager.slotCharacterInBuilding(runeMerchant);
runeMerchant.setLoc(runeMerchant.bindLoc);
for(MobEquipment item : runeMerchant.contract.getSellInventory()){
item.magicValue = 10000000;
}
}
catch(Exception e){
Logger.error("FAILED TO ADD RUNE MERCHANT");