Reformat and clean up portal scripts

This commit is contained in:
P0nk
2021-09-09 23:35:59 +02:00
parent d893309b4f
commit a78ca88a02
435 changed files with 2712 additions and 2287 deletions

View File

@@ -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, 4);
if(pi.getPlayer().getClient().getChannelServer().getEventSM().getEventManager("Boats").getProperty("haveBalrog").equals("true")) {
pi.changeMusic("Bgm04/ArabPirate");
}
return true;
pi.playPortalSound();
pi.warp(200090000, 4);
if (pi.getPlayer().getClient().getChannelServer().getEventSM().getEventManager("Boats").getProperty("haveBalrog").equals("true")) {
pi.changeMusic("Bgm04/ArabPirate");
}
return true;
}