Quick patch for the last commit

Fixed some bugs that appeared with the last commit. Added more info on
the event functions documentation.
This commit is contained in:
ronancpl
2017-06-11 11:50:37 -03:00
parent 1afbac2429
commit 9ab79f216a
62 changed files with 178 additions and 75 deletions

View File

@@ -93,6 +93,7 @@ function setup(level, lobbyid) {
eim.setProperty("statusStg6", -1);
eim.setProperty("statusStg7", -1);
eim.setProperty("statusStg8", -1);
eim.setProperty("statusStg2_c", 0);
eim.setProperty("statusStg7_c", 0);
eim.setProperty("statusStgBonus", 0);
@@ -161,6 +162,13 @@ function scheduledTimeout(eim) {
}
}
function playerUnregistered(eim, player) {
player.cancelEffect(2022090);
player.cancelEffect(2022091);
player.cancelEffect(2022092);
player.cancelEffect(2022093);
}
function playerExit(eim, player) {
eim.unregisterPlayer(player);
player.changeMap(exitMap, 0);
@@ -245,4 +253,3 @@ function allMonstersDead(eim) {}
function cancelSchedule() {}
function dispose(eim) {}