Reformat and clean up portal scripts
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
Return from Sharen III's Grave - Guild Quest
|
||||
|
||||
@@ -26,9 +27,10 @@ Return from Sharen III's Grave - Guild Quest
|
||||
*/
|
||||
|
||||
function enter(pi) {
|
||||
var backPortals = [6, 8, 9, 11];
|
||||
var idx = pi.getEventInstance().gridCheck(pi.getPlayer());
|
||||
|
||||
pi.playPortalSound(); pi.warp(990000600, backPortals[idx]);
|
||||
return true;
|
||||
var backPortals = [6, 8, 9, 11];
|
||||
var idx = pi.getEventInstance().gridCheck(pi.getPlayer());
|
||||
|
||||
pi.playPortalSound();
|
||||
pi.warp(990000600, backPortals[idx]);
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user