Minor tweak on Exp system + Diet's Cygnus quest line

Changed minimum level required to gain EXP of mob from -5 to -20 the mob level (players below that level sees a red-colored font when displaying higher-leveled mob HPbar). Thanks to DietStory dev team, fixed some quests for KoC.
This commit is contained in:
ronancpl
2017-10-05 17:14:05 -03:00
parent 3a882c7f31
commit 6e1442af30
62 changed files with 670 additions and 85 deletions

View File

@@ -0,0 +1,19 @@
function enter(pi) {
if(pi.getMap().countMonster(2220100) > 0){
pi.getPlayer().message("Cannot leave until all Blue Mushrooms have been defeated.");
return false;
}
else{
var eim = pi.getEventInstance();
eim.stopEventTimer();
eim.dispose();
pi.playPortalSound();
pi.warp(101000000, 26);
if(pi.isQuestCompleted(20718))
pi.openNpc(1103003, "MaybeItsGrendel_end");
return true;
}
}