Browse Source

added rune merchant

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
76b89d898a
  1. 10
      src/engine/server/world/WorldServer.java

10
src/engine/server/world/WorldServer.java

@ -23,6 +23,7 @@ import engine.gameManager.*;
import engine.job.JobContainer; import engine.job.JobContainer;
import engine.job.JobScheduler; import engine.job.JobScheduler;
import engine.jobs.LogoutCharacterJob; import engine.jobs.LogoutCharacterJob;
import engine.math.Vector3fImmutable;
import engine.mobileAI.Threads.MobAIThread; import engine.mobileAI.Threads.MobAIThread;
import engine.mobileAI.Threads.MobRespawnThread; import engine.mobileAI.Threads.MobRespawnThread;
import engine.net.Dispatch; import engine.net.Dispatch;
@ -629,7 +630,14 @@ public class WorldServer {
ZoneManager.populateWorldZones(zone); 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"); Logger.info("time to load World Objects: " + (System.currentTimeMillis() - start) + " ms");
} }

Loading…
Cancel
Save