Medal quest system tweak + Proximity check on quests + DB leak fix
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.
This commit is contained in:
@@ -57,13 +57,12 @@ function action(mode, type, selection) {
|
||||
cm.sendOk("I did not hear anything from Blake that you are assisting him.");
|
||||
}
|
||||
} else {
|
||||
if (cm.isQuestCompleted(2291)) {
|
||||
var rock = cm.getEventManager("VIPRockSpirit");
|
||||
rock.newInstance("VIPRockSpirit");
|
||||
rock.setProperty("player", cm.getPlayer().getName());
|
||||
rock.startInstance(cm.getPlayer());
|
||||
cm.dispose();
|
||||
return;
|
||||
if (cm.isQuestCompleted(2290)) {
|
||||
if(cm.getPlayer().getLevel() > 50) {
|
||||
cm.sendOk("The VIP area is available only for players #rlevel 50 or below#k.");
|
||||
} else {
|
||||
cm.sendOk("The VIP area is available via completing the #r'Admission to the VIP Zone'#k quest.");
|
||||
}
|
||||
} else {
|
||||
cm.sendOk("#rVIP#k? Yeah that is funny #rMr. VIP#k, now get lost before I call security.");
|
||||
}
|
||||
|
||||
@@ -102,6 +102,7 @@ function writeSolaxiaCommandsLv3() { //GM
|
||||
comm_cursor = comm_lv3;
|
||||
desc_cursor = desc_lv3;
|
||||
|
||||
addCommand("debuff", "");
|
||||
addCommand("fly", "");
|
||||
addCommand("spawn", "");
|
||||
addCommand("mutemap", "");
|
||||
|
||||
@@ -27,7 +27,7 @@ function writeServerStaff_HeavenMS() {
|
||||
addPerson("Ronan", "Developer");
|
||||
addPerson("Vcoc", "Freelance Developer");
|
||||
|
||||
setHistory(2015, 2017);
|
||||
setHistory(2015, 2018);
|
||||
}
|
||||
|
||||
function writeServerStaff_MapleSolaxia() {
|
||||
|
||||
Reference in New Issue
Block a user