Rebalanced the EXTREMELY low level section of the equipment level up system. Added support code for quests on Kerning Square and Mushroom Castle. Added quest scripts for many missing scripted quests. Refactored medal quests, now using a default script system for uncoded medal questid's. Fixed a DB leak regarding quest status and medal maps tables. Added proximity check for NPCs to start/complete quests that doesn't use the lightbulb system. Added "debuff" command, that debuffs people nearby.
10 lines
557 B
JavaScript
10 lines
557 B
JavaScript
function end(mode, type, selection) {
|
|
if(qm.isQuestCompleted(3523) || qm.isQuestCompleted(3524) || qm.isQuestCompleted(3525) || qm.isQuestCompleted(3526) || qm.isQuestCompleted(3527) || qm.isQuestCompleted(3529) || qm.isQuestCompleted(3539)) {
|
|
qm.completeQuest();
|
|
qm.sendOk("You are now filled with all of your memories again.. You are now allowed to go to #m270020000#.");
|
|
} else {
|
|
qm.sendOk("You have not yet checked with your first teacher about your memories?");
|
|
}
|
|
|
|
qm.dispose();
|
|
} |