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:
ronancpl
2017-11-03 17:06:48 -02:00
parent 64af2cfa00
commit 1fead59c57
145 changed files with 3139 additions and 2726 deletions

View File

@@ -35,22 +35,23 @@ function action(mode, type, selection) {
status++;
else
status--;
if (status == 0) {
cm.sendNext("Bam bam bam bam!! You have won the game from the \r\n#bEVENT#k. Congratulations on making it this far!");
} else if (status == 1) {
cm.sendNext("You'll be awarded the #bScroll of Secrets#k as the winning prize. On the scroll, it has secret information written in ancient characters.");
} else if (status == 2) {
cm.sendNext("The Scroll of Secrets can be deciphered by #rChun Ji#k or \r\n#rGeanie#k at Ludibrium. Bring it with you and something good's bound to happen.");
} else if (status == 3) {
if (cm.canHold(4031019)) {
cm.gainItem(4031019);
cm.warp(cm.getPlayer().getSavedLocation("EVENT"));
cm.dispose();
} else {
cm.sendNext("I think your Etc window is full. Please make room, then talk to me.");
if (status == 0) {
cm.sendNext("Bam bam bam bam!! You have won the game from the \r\n#bEVENT#k. Congratulations on making it this far!");
} else if (status == 1) {
cm.sendNext("You'll be awarded the #bScroll of Secrets#k as the winning prize. On the scroll, it has secret information written in ancient characters.");
} else if (status == 2) {
cm.sendNext("The Scroll of Secrets can be deciphered by #rChun Ji#k or \r\n#rGeanie#k at Ludibrium. Bring it with you and something good's bound to happen.");
} else if (status == 3) {
if (cm.canHold(4031019)) {
cm.gainItem(4031019);
cm.warp(cm.getPlayer().getSavedLocation("EVENT"));
cm.dispose();
} else {
cm.sendNext("I think your Etc window is full. Please make room, then talk to me.");
}
} else if (status == 4) {
cm.dispose();
}
}
} else if (status == 4) {
cm.dispose();
}
}
}
}