CWKPQ inclusion
Added some CWKPQ imports for the server. Enabled basic mechanics for a run, but still WIP.
This commit is contained in:
9
scripts/portal/glpqPortal02.js
Normal file
9
scripts/portal/glpqPortal02.js
Normal file
@@ -0,0 +1,9 @@
|
||||
function enter(pi) {
|
||||
if (pi.getPlayer().getJob().getJobNiche() == 2) {
|
||||
pi.warp(610030521,0);
|
||||
return true;
|
||||
} else {
|
||||
pi.playerMessage(5, "Only mages may enter this portal.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user