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:
16
scripts/portal/jnr4_r4.js
Normal file
16
scripts/portal/jnr4_r4.js
Normal file
@@ -0,0 +1,16 @@
|
||||
function enter(pi) {
|
||||
var eim = pi.getEventInstance();
|
||||
var area = eim.getIntProperty("statusStg5");
|
||||
var reg = 3;
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user