Implemented CWKPQ
Made CWKPQ fully-functional, using the Expedition system (won't work with the lobby system).
This commit is contained in:
@@ -9,9 +9,11 @@ function enter(pi) {
|
||||
} else {
|
||||
eim.setIntProperty("glpq3_p", eim.getIntProperty("glpq3_p") + 1);
|
||||
|
||||
if(eim.getIntProperty("glpq3_p") == 5) {
|
||||
if(eim.getIntProperty("glpq3") == 5 && eim.getIntProperty("glpq3_p") == 5) {
|
||||
pi.mapMessage(6, "The Antellion grants you access to the next portal! Proceed!");
|
||||
|
||||
eim.showClearEffect(610030300, "3pt", 2);
|
||||
eim.giveEventPlayersStageReward(3);
|
||||
} else {
|
||||
pi.mapMessage(6, "An adventurer has passed through! " + (5 - eim.getIntProperty("glpq3_p")) + " to go.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user