CWKPQ inclusion
Added some CWKPQ imports for the server. Enabled basic mechanics for a run, but still WIP.
This commit is contained in:
35
scripts/npc/9201110.js
Normal file
35
scripts/npc/9201110.js
Normal file
@@ -0,0 +1,35 @@
|
||||
/* @Author SharpAceX
|
||||
*/
|
||||
|
||||
function start() {
|
||||
switch(cm.getPlayer().getMapId()) {
|
||||
case 610030500:
|
||||
cm.sendOk("As every Thief knows, the best attack is the one you never see coming. So, to best illustrate this, you'll be in a chamber with platforms and ledges that you can only get to with Haste, as well as All-Seeing Eyes that your dagger or claw must close--permanently. After all the All-Seeing Eyes have been eliminated, get ti the Thief Statue and lay claim to the Primal Claw! Good luck!");
|
||||
break;
|
||||
case 610030000:
|
||||
cm.sendOk("Once known as the 'Prince of Shadows', Grandmaster Ryo possessed supreme speed and power with short-ranged daggers and longer chain-like Claw. A part-time memeber of the Bosshunters, he was reowned for unparalleled ability to blend into the very nigth itself. His legend grew during a battle with Crimson Balrog, where he moved so swiftly that Balrog's attacks only caught air. Ryo also performed occasional 'retrievals' for those less fortunate than himself.");
|
||||
break;
|
||||
case 610030530:
|
||||
if (cm.isAllReactorState(6108004, 1) && !cm.haveItem(4001256, 1)) {
|
||||
var eim = cm.getEventInstance();
|
||||
var stgStatus = eim.getIntProperty("glpq5_room");
|
||||
var jobNiche = cm.getPlayer().getJob().getJobNiche();
|
||||
|
||||
if ((stgStatus >> jobNiche) % 2 == 0) {
|
||||
if(cm.canHold(4001256, 1)) {
|
||||
cm.gainItem(4001256, 1);
|
||||
cm.sendOk("Good job.");
|
||||
|
||||
stgStatus += (1 << jobNiche);
|
||||
eim.setIntProperty("glpq5_room", stgStatus);
|
||||
} else {
|
||||
cm.sendOk("Make room on your ETC inventory first.");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
cm.sendOk("Go now, destroy all of the watchful eyes with your mobility skills, fellow Thief. Report back to me when you are done.");
|
||||
}
|
||||
break;
|
||||
}
|
||||
cm.dispose();
|
||||
}
|
||||
Reference in New Issue
Block a user