Fixed issues with negative experience being distributed to characters when killing a mob, rendering "Exp reset". Fixed chaos scroll behaving oddly. Refactored debuff expirations to manage one list with registered debuffs and expire times, thus lifting some load from the TimerManager. Added concurrency protection on how World deals with parties. Thanks to the DietStory dev team, fixed some issues with the MK maps.
9 lines
276 B
JavaScript
9 lines
276 B
JavaScript
importPackage(Packages.server.life);
|
|
|
|
function start(ms){
|
|
var mobId = 3300000 + (Math.floor(Math.random() * 3) + 5);
|
|
var player = ms.getPlayer();
|
|
var map = player.getMap();
|
|
|
|
map.spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(mobId), new java.awt.Point(-28, -67));
|
|
} |