added rune merchant

This commit is contained in:
2024-02-18 15:21:16 -06:00
parent 6a28574471
commit 76b89d898a
+9 -1
View File
@@ -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");
}