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:
@@ -1,16 +1,16 @@
|
||||
function enter(pi) {
|
||||
if(pi.getPlayer().getMapId() == 130030001){
|
||||
if(pi.isQuestStarted(20010)){
|
||||
pi.warp(130030002);
|
||||
pi.warp(130030002, 0);
|
||||
} else {
|
||||
pi.message("Please click on the NPC first to receive a quest");
|
||||
pi.message("Please click on the NPC first to receive a quest.");
|
||||
}
|
||||
} else if(pi.getPlayer().getMapId() == 130030002){
|
||||
pi.warp(130030003);
|
||||
pi.warp(130030003, 0);
|
||||
} else if(pi.getPlayer().getMapId() == 130030003){
|
||||
pi.warp(130030004);
|
||||
pi.warp(130030004, 0);
|
||||
} else if(pi.getPlayer().getMapId() == 130030004){
|
||||
pi.warp(130030005);
|
||||
pi.warp(130030005, 0);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user