Added Horntail PQ and boss fight. Fixed short integer overflow of equipment stats on client messing up player stats.
23 lines
517 B
JavaScript
23 lines
517 B
JavaScript
/*
|
|
Dragon nest
|
|
*/
|
|
|
|
function sendToHeaven() {
|
|
rm.destroyNpc(2081008);
|
|
rm.mapMessage(6, "In a flicker of light, Nine Spirit's Little Dragon returns to the place it belongs, high above the skies.");
|
|
rm.getReactor().getMap().resetReactors();
|
|
}
|
|
|
|
function touch() {
|
|
if(rm.haveItem(4001094) && rm.getReactor().getState() == 0) {
|
|
rm.hitReactor();
|
|
rm.gainItem(4001094, -1);
|
|
}
|
|
}
|
|
|
|
function untouch() {}
|
|
|
|
function act() {
|
|
rm.spawnNpc(2081008);
|
|
rm.schedule("sendToHeaven", 12 * 1000);
|
|
} |