Added some CWKPQ imports for the server. Enabled basic mechanics for a run, but still WIP.
11 lines
407 B
JavaScript
11 lines
407 B
JavaScript
function act() {
|
|
var eim = rm.getEventInstance();
|
|
if (eim != null) {
|
|
eim.dropMessage(6, "A weapon has been restored to the Relic of Mastery!");
|
|
eim.setIntProperty("glpq5", eim.getIntProperty("glpq5") + 1);
|
|
if (eim.getIntProperty("glpq5") == 5) { //all 5 done
|
|
eim.dropMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
|
eim.showClearEffect(610030500, "5pt", 2);
|
|
}
|
|
}
|
|
} |