Slot Max & Wind Walk fix + reviewed scripted portals
Fixed slotMax function caching up dirtied player data. Fixed many portals not supposed to warp players to "random spawnpoints". Fixed Wind Walk not being cancellable by attacking.
This commit is contained in:
@@ -13,11 +13,16 @@ function enter(pi) {
|
||||
var mapp = pi.getMap(map);
|
||||
mapp.resetFully();
|
||||
mapp.respawn(true);
|
||||
|
||||
pi.playPortalSound();
|
||||
pi.warp(map, 0);
|
||||
return true;
|
||||
} else {
|
||||
pi.playerMessage(5, "Someone is already in this map.");
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
pi.playerMessage(5, "Hall #1 can only be entered if you're engaged in Kiku's Acclimation Training.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user