sweetgum83/scripts/reactor/6109005.js
2024-01-19 03:56:28 -05:00

13 lines
507 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);
}
}
}