Implemented CWKPQ

Made CWKPQ fully-functional, using the Expedition system (won't work
with the lobby system).
This commit is contained in:
ronancpl
2017-06-30 01:26:47 -03:00
parent a7beff1bb4
commit ca3838050d
126 changed files with 50072 additions and 49743 deletions

View File

@@ -9,13 +9,6 @@ function start() {
cm.sendOk("A name forever remembered, Rafael was an exceptionally skilled sorcerer, and the foremost master of mental magic powers, telekinesis and telepathy. In addition to that, he was one of the 'Elite Mages' who mastered all the elements. He was last seen looking for the 'Temple of the Elementals' to turn the tide against the invading Krakian Army...");
cm.dispose();
} else if (cm.getPlayer().getMapId() == 610030521) {
if (cm.getPlayer().getMap().countMonsters() == 0) {
cm.warp(610030522,0);
} else {
cm.sendOk("Eliminate all monsters.");
}
cm.dispose();
} else if (cm.getPlayer().getMapId() == 610030522) {
if (cm.getPlayer().getMap().countMonsters() == 0) {
var eim = cm.getEventInstance();
var stgStatus = eim.getIntProperty("glpq5_room");
@@ -31,10 +24,20 @@ function start() {
} else {
cm.sendOk("Make room on your ETC inventory first.");
}
} else {
cm.sendOk("The weapon inside this room has already been retrieved.");
}
} else {
cm.sendOk("Eliminate all monsters.");
}
cm.dispose();
} /* else if (cm.getPlayer().getMapId() == 610030522) {
if (cm.getPlayer().getMap().countMonsters() == 0) {
cm.warp(610030522,0);
} else {
cm.sendOk("Eliminate all monsters.");
}
cm.dispose();
}
*/
}