From 76b89d898a2be136f6da4bb853dc72872f0aad92 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 18 Feb 2024 15:21:16 -0600 Subject: [PATCH] added rune merchant --- src/engine/server/world/WorldServer.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/engine/server/world/WorldServer.java b/src/engine/server/world/WorldServer.java index d3add44a..1738853f 100644 --- a/src/engine/server/world/WorldServer.java +++ b/src/engine/server/world/WorldServer.java @@ -23,6 +23,7 @@ import engine.gameManager.*; import engine.job.JobContainer; import engine.job.JobScheduler; import engine.jobs.LogoutCharacterJob; +import engine.math.Vector3fImmutable; import engine.mobileAI.Threads.MobAIThread; import engine.mobileAI.Threads.MobRespawnThread; import engine.net.Dispatch; @@ -629,7 +630,14 @@ public class WorldServer { ZoneManager.populateWorldZones(zone); } - + //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 = 1000000; + } + catch(Exception e){ + Logger.error("FAILED TO ADD RUNE MERCHANT"); + } Logger.info("time to load World Objects: " + (System.currentTimeMillis() - start) + " ms"); }