Reworked Singapore/Malaysia + warp fix

Reworked many aspects of the Malaysia/Singapore region (added DB data,
enabled Latanica & Scarga expedition, fixed maps). Fixed some issues
related with player warping.
This commit is contained in:
ronancpl
2017-07-14 20:40:06 -03:00
parent 7f80f45553
commit 8fab2a6e3e
120 changed files with 17684 additions and 16759 deletions

View File

@@ -22,5 +22,6 @@
function act(){
rm.changeMusic("Bgm09/TimeAttack");
rm.spawnMonster(9420513, -146, 225);
rm.getEventInstance().setIntProperty("boss", 1);
rm.mapMessage(5, "As you wish, here comes Capt Latanica.");
}

View File

@@ -2,10 +2,14 @@
* 5511000.js: Summons Targa.
*/
function summonBoss() {
rm.spawnMonster(9420542,-527,637);
rm.changeMusic("Bgm09/TimeAttack");
rm.mapMessage(6, "Beware! The furious Targa has shown himself!");
}
function act() {
if (rm.getReactor().getMap().getMonsterById(9420542) == null) {
rm.spawnMonster(9420542,-527,637);
rm.changeMusic("Bgm09/TimeAttack");
rm.mapMessage(6, "Beware! The furious Targa has shown himself!");
rm.schedule("summonBoss", 3200);
}
}

View File

@@ -2,10 +2,14 @@
* 5511001.js: Summons Scarlion.
*/
function summonBoss() {
rm.spawnMonster(9420547,-238,636);
rm.changeMusic("Bgm09/TimeAttack");
rm.mapMessage(6, "Beware! The furious Scarlion has shown himself!");
}
function act() {
if (rm.getReactor().getMap().getMonsterById(9420547) == null) {
rm.spawnMonster(9420547,-238,636);
rm.changeMusic("Bgm09/TimeAttack");
rm.mapMessage(6, "Beware! The furious Scarlion has shown himself!");
rm.schedule("summonBoss", 3200);
}
}