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.
11 lines
253 B
JavaScript
11 lines
253 B
JavaScript
//Author: kevintjuh93
|
|
|
|
function enter(pi) {
|
|
if (pi.getPlayer().getEvents().getGagaRescue().fallAndGet() > 3) {
|
|
pi.warp(922240200, 0);
|
|
pi.getPlayer().cancelEffect(2360002);
|
|
} else
|
|
pi.warp(pi.getPlayer().getMapId(), 0);
|
|
|
|
return true;
|
|
} |