Files
sweetgum-server/scripts/reactor/6109005.js
ronancpl ca3838050d Implemented CWKPQ
Made CWKPQ fully-functional, using the Expedition system (won't work
with the lobby system).
2017-06-30 01:26:47 -03:00

13 lines
492 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);
eim.giveEventPlayersStageReward(5);
}
}
}