Files
sweetgum-server/scripts/portal/enterWitch.js
ronancpl c09bc02c85 Horntail PQ & Exped + Equip levelup fix
Added Horntail PQ and boss fight. Fixed short integer overflow of
equipment stats on client messing up player stats.
2017-07-20 12:02:59 -03:00

15 lines
392 B
JavaScript

function enter(pi) {
if (pi.getQuestStatus(20407) == 2) {
pi.warp(924010200,0);
return true;
} else if (pi.getQuestStatus(20406) == 2) {
pi.warp(924010100,0);
return true;
} else if (pi.getQuestStatus(20404) == 2) {
pi.warp(924010000,0);
return true;
} else {
pi.playerMessage(5, "I shouldn't go here.. it's creepy!");
return false;
}
}