AutoAggro & MoveLife handler update + minor patches

Changed some handlers to reuse MapleMap variable, preventing some minor inconsistencies.
Applied minor patches over the source.
This commit is contained in:
ronancpl
2018-01-11 12:29:43 -02:00
parent 1190513d0c
commit c4c3f58f41
10 changed files with 119 additions and 100 deletions

View File

@@ -11,8 +11,7 @@ function enter(pi) {
if (map > 0) {
if (pi.getPlayerCount(map) == 0) {
var mapp = pi.getMap(map);
mapp.resetFully();
mapp.respawn(true);
mapp.resetPQ();
pi.playPortalSound();
pi.warp(map, 0);