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

@@ -27,7 +27,7 @@ function start() {
function action(mode, type, selection) {
if (mode < 1) {
cm.sendOk("Goodbye then");
cm.sendOk("Goodbye then.");
cm.dispose();
return;
}
@@ -37,14 +37,14 @@ function action(mode, type, selection) {
status--;
if (status == 1) {
if (selection < 1)
cm.warp(680000400);
cm.warp(680000400, 0);
else if (selection < 2) {
if (cm.haveItem(4031217,7))
cm.gainItem(4031217, -7);
else
cm.sendOk("It seems like you don't have 7 Keys. Kill the cakes and candles in the Untamed Heart Hunting Ground to get keys. ");
} else if (selection > 1) {
cm.warp(680000500);
cm.warp(680000500, 0);
cm.sendOk("Goodbye. I hope you enjoyed the wedding!");
}
cm.dispose();