sweetgum83/scripts/portal/party3_gardenin.js

10 lines
371 B
JavaScript
Raw Normal View History

2024-01-19 08:56:28 +00:00
function enter(pi) {
if (pi.getPlayer().getParty() != null && pi.isEventLeader() && pi.haveItem(4001055, 1)) {
pi.playPortalSound();
pi.getEventInstance().warpEventTeam(920010100);
return true;
} else {
pi.playerMessage(5, "Please get the leader in this portal, make sure you have the Root of Life.");
return false;
}
}