Reformat and clean up portal scripts
This commit is contained in:
@@ -20,23 +20,24 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
-- Odin JavaScript --------------------------------------------------------------------------------
|
||||
During The Ride To Ellinia
|
||||
-- By ---------------------------------------------------------------------------------------------
|
||||
Information
|
||||
-- Version Info -----------------------------------------------------------------------------------
|
||||
1.4 - Code clean up [Information]
|
||||
1.3 - Typo >.< [Information]
|
||||
1.2 - Update to support lastest script [Information]
|
||||
1.1 - The right statement to bring out the music [Information]
|
||||
1.0 - First Version by Information
|
||||
---------------------------------------------------------------------------------------------------
|
||||
**/
|
||||
-- Odin JavaScript --------------------------------------------------------------------------------
|
||||
During The Ride To Ellinia
|
||||
-- By ---------------------------------------------------------------------------------------------
|
||||
Information
|
||||
-- Version Info -----------------------------------------------------------------------------------
|
||||
1.4 - Code clean up [Information]
|
||||
1.3 - Typo >.< [Information]
|
||||
1.2 - Update to support lastest script [Information]
|
||||
1.1 - The right statement to bring out the music [Information]
|
||||
1.0 - First Version by Information
|
||||
---------------------------------------------------------------------------------------------------
|
||||
**/
|
||||
|
||||
function enter(pi) {
|
||||
pi.playPortalSound(); pi.warp(200090000, 5);
|
||||
if(pi.getPlayer().getClient().getChannelServer().getEventSM().getEventManager("Boats").getProperty("haveBalrog").equals("true")) {
|
||||
pi.changeMusic("Bgm04/ArabPirate");
|
||||
}
|
||||
return true;
|
||||
pi.playPortalSound();
|
||||
pi.warp(200090000, 5);
|
||||
if (pi.getPlayer().getClient().getChannelServer().getEventSM().getEventManager("Boats").getProperty("haveBalrog").equals("true")) {
|
||||
pi.changeMusic("Bgm04/ArabPirate");
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user