Exp gain & Chaos scroll fix + Diet's MK Overhaul

Fixed issues with negative experience being distributed to characters
when killing a mob, rendering "Exp reset". Fixed chaos scroll behaving
oddly. Refactored debuff expirations to manage one list with registered
debuffs and expire times, thus lifting some load from the TimerManager.
Added concurrency protection on how World deals with parties. Thanks to
the DietStory dev team, fixed some issues with the MK maps.
This commit is contained in:
ronancpl
2017-10-04 02:35:52 -03:00
parent 6445f0b4e4
commit 3a882c7f31
141 changed files with 1719 additions and 524 deletions

28
scripts/quest/2342.js Normal file
View File

@@ -0,0 +1,28 @@
/*
QUEST: Recovered Royal Seal.
NPC: Violetta
*/
var status = -1;
function start(mode, type, selection){
if(!qm.hasItem(4001318) && qm.isQuestStarted(2331) && !qm.isQuestCompleted(2331)){
if(qm.canHold(4001318)){
qm.forceStartQuest();
qm.gainItem(4001318, 1);
qm.forceCompleteQuest();
qm.sendOk("Looks like you forgot to pick up the #b#t4001318##k when you fought with the #bPrime Minister#k. This is very important to our kingdom, so please deliver this to my father as soon as possible.");
qm.dispose();
}
else{
qm.sendOk("Please free up one spot in your ETC inventory");
qm.dispose();
}
}
else{
qm.dispose();
}
}
function end(mode, type, selection){
}