Neo City + Revamped EllinPQ + New Release
Fixed Neo City area, now playable. Overhauled the EllinPQ mechanics, such as the "CLEAR" effect when passing maps, and some bug fixes along the way. Refactored a lot of out-of-place classes and properly renamed a few others through the project. Updated readme and licenses through the source, preparing the stage for the new release.
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
function enter(pi) {
|
||||
if ((pi.getMap().getMonsters().size() == 0 || pi.getMap().getMonsterById(9300183) != null) && (pi.getMap().getReactorByName("") == null || pi.getMap().getReactorByName("").getState() == 1)) {
|
||||
var eim = pi.getEventInstance();
|
||||
|
||||
if (eim.isEventCleared()) {
|
||||
if(pi.isEventLeader()) {
|
||||
pi.getEventInstance().clearPQ();
|
||||
eim.warpEventTeam(930000800);
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
pi.playerMessage(5, "Wait for the leader to pass through the portal.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
pi.playerMessage(5, "Please eliminate the Poison Golem.");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user