sweetgum83/scripts/reactor/6109009.js

13 lines
507 B
JavaScript
Raw Normal View History

2024-01-19 08:56:28 +00:00
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);
}
}
}