Fixed buff system behaving oddly if a buff has value zero, that would render some skills "broken". Fixed players skipping maps when trying to access portals while under a poor Internet connection. Fixed storage not disposing players properly in cases where the players does not meet the storage conditions. Set some locks to use fairness strategy when dealing with atomic code, in order to make the calls to it properly synchronized. Fixed Aran introductory questline stucking players when certain conditions were met. Added drop data for some mob versions of Fairy, Yeti and Pepe.
33 lines
1.2 KiB
JavaScript
33 lines
1.2 KiB
JavaScript
var status = -1;
|
|
|
|
function start(mode, type, selection) {
|
|
if(mode == -1 || mode == 0 && type > 0) {
|
|
qm.dispose();
|
|
return;
|
|
}
|
|
|
|
if (mode == 1) {
|
|
status++;
|
|
} else {
|
|
if (status == 2) {
|
|
qm.dispose();
|
|
return;
|
|
}
|
|
status--;
|
|
}
|
|
if (status == 0) {
|
|
qm.sendNext("How did the training go? The Penguin Teacher #p1202006# likes to exaggerate and it worried me knowing that he has bouts of Alzheimer's, but I'm sure he helped you. He's been studying the skills of heroes for a very long time.");
|
|
} else if (status == 1) {
|
|
qm.sendNextPrev("#b(You tell her that you were able to remember the Combo Ability skill.)#k", 2);
|
|
} else if (status == 2) {
|
|
qm.sendAcceptDecline("That's great! Honestly, though, I think it has less to do with the method of #p1202006#'s training and more to do with your body remembering its old abilities. #bI'm sure your body will remember more skills as you continue to train#k! \r\n\r\n#fUI/UIWindow.img/QuestIcon/8/0# 500 exp");
|
|
} else if (status == 3) {
|
|
qm.forceCompleteQuest();
|
|
qm.gainExp(500);
|
|
qm.dispose();
|
|
}
|
|
}
|
|
|
|
function end(mode, type, selection) {
|
|
qm.dispose();
|
|
} |