MagatiaPQ + several minor fixes

Added MagatiaPQ. Fixed a bug on Dojo where parties quitting the boss
fight without completing until rest point couldn't not start Dojo again
w/o reforming the party. Fixed issues with 2nd job NPC scripts. Reverted
command layout to use "!" and "@" again.
This commit is contained in:
ronancpl
2017-08-11 12:41:35 -03:00
parent f78defec1f
commit e0a27e00ab
185 changed files with 3316 additions and 527 deletions

16
scripts/portal/jnr4_r2.js Normal file
View File

@@ -0,0 +1,16 @@
function enter(pi) {
var eim = pi.getEventInstance();
var area = eim.getIntProperty("statusStg5");
var reg = 1;
if((area >> reg) % 2 == 0) {
area |= (1 << reg);
eim.setIntProperty("statusStg5", area);
pi.warp(926110301 + reg, 0); //next
return(true);
} else {
pi.playerMessage(5, "This room is already being explored.");
return(false);
}
}