Portal sound effects + Improved skillbook drops

Added portal crossing sound effect on several scripted portals which were missing it.
Added a few more scrolls on Spindle.
Added several skill/mastery book drops, making "4th job skill questing" somewhat more viable.
This commit is contained in:
ronancpl
2018-02-14 18:25:49 -02:00
parent 10dc1f03e7
commit 278b5e8140
43 changed files with 1876 additions and 1284 deletions

View File

@@ -2,7 +2,7 @@ function enter(pi) {
var map = pi.getPlayer().getMap();
if(pi.getPortal().getName() == "female00") {
if (pi.getPlayer().getGender() == 1) {
pi.warp(map.getId(), "female01");
pi.playPortalSound(); pi.warp(map.getId(), "female01");
return true;
} else {
pi.message("This portal leads to the girls' area, try the portal at the other side.");