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.
This commit is contained in:
ronancpl
2017-07-20 12:02:59 -03:00
parent 8fab2a6e3e
commit c09bc02c85
137 changed files with 1154 additions and 583 deletions

View File

@@ -0,0 +1,23 @@
/*
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);
}