Reworked equip lvlup + Reactor quest item drop + ToT quests fix
Rebalanced the way equipment exp is gained (about 100~200 same-level range mobs to pass equip level 1 to 2). Fixed reactors dropping quest items to player if they don't have the quest started. Fixed broken Temple of Time quests.
This commit is contained in:
10
scripts/quest/3507.js
Normal file
10
scripts/quest/3507.js
Normal file
@@ -0,0 +1,10 @@
|
||||
function end(mode, type, selection) {
|
||||
if(qm.isQuestCompleted(3523) || qm.isQuestCompleted(3524) || qm.isQuestCompleted(3525) || qm.isQuestCompleted(3526) || qm.isQuestCompleted(3527) || qm.isQuestCompleted(3539)) {
|
||||
qm.completeQuest();
|
||||
qm.sendOk("You are now filled with all of your memories again.. You are now allowed to go to #m270020000#.");
|
||||
} else {
|
||||
qm.sendOk("You have not yet checked with your first teacher about your memories?");
|
||||
}
|
||||
|
||||
qm.dispose();
|
||||
}
|
||||
@@ -23,12 +23,46 @@
|
||||
* The sorcerer who sells emotions
|
||||
*/
|
||||
|
||||
importPackage(Packages.client);
|
||||
|
||||
function start(mode, type, selection) {
|
||||
if(qm.getPlayer().getMeso() >= 1000000) {
|
||||
if(qm.canHold(2022337, 1)) {
|
||||
qm.gainItem(2022337, 1);
|
||||
qm.gainMeso(-1000000);
|
||||
|
||||
//qm.sendOk("Nice doing business with you~~.");
|
||||
qm.startQuest(3514);
|
||||
} else {
|
||||
qm.sendOk("Check out for a slot on your USE inventory first.");
|
||||
}
|
||||
} else {
|
||||
qm.sendOk("Oy, you don't have the money. I charge #r1,000,000 mesos#k for the emotion potion. No money, no deal.");
|
||||
}
|
||||
|
||||
qm.dispose();
|
||||
}
|
||||
|
||||
function usedPotion(ch) {
|
||||
return ch.getBuffSource(MapleBuffStat.HPREC) == 2022337;
|
||||
}
|
||||
|
||||
function end(mode, type, selection) {
|
||||
if(qm.haveItem(2022337)) {
|
||||
qm.sendOk("Are you scared to drink the potion? I can assure you it's only a minor #rside effect#k.");
|
||||
if(!usedPotion(qm.getPlayer())) {
|
||||
if(qm.haveItem(2022337)) {
|
||||
qm.sendOk("Are you scared to drink the potion? I can assure you it has only a minor #rside effect#k.");
|
||||
} else {
|
||||
if(qm.canHold(2022337)) {
|
||||
qm.gainItem(2022337, 1);
|
||||
qm.sendOk("Lost it? Luckily for you I managed to recover it back. Take it.");
|
||||
} else {
|
||||
qm.sendOk("Lost it? Luckily for you I managed to recover it back. Make a room to get it.");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
qm.sendOk("It seems the potion worked and your emotions are no longer frozen.");
|
||||
qm.sendOk("It seems the potion worked and your emotions are no longer frozen. And, oh, my... You're ailing bad, #bpurge#k that out quickly.");
|
||||
qm.gainExp(891500 * qm.getPlayer().getExpRate());
|
||||
qm.completeQuest(3514);
|
||||
}
|
||||
qm.dispose();
|
||||
qm.dispose();
|
||||
}
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
function start(mode, type, selection) {
|
||||
qm.startQuest();
|
||||
qm.getPlayer().updateQuestInfo(3507, 1);
|
||||
//qm.getPlayer().updateQuestInfo(3507, "1");
|
||||
qm.completeQuest();
|
||||
qm.sendOk("You have regained your memories and are now allowed to go to #m270020000#.");
|
||||
qm.sendOk("You have regained your memories, talk to #b#p2140001##k to get the pass.");
|
||||
qm.dispose();
|
||||
}
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
function start(mode, type, selection) {
|
||||
qm.startQuest();
|
||||
qm.getPlayer().updateQuestInfo(3507, 1);
|
||||
//qm.getPlayer().updateQuestInfo(3507, "1");
|
||||
qm.completeQuest();
|
||||
qm.sendOk("You have regained your memories and are now allowed to go to #m270020000#.");
|
||||
qm.sendOk("You have regained your memories, talk to #b#p2140001##k to get the pass.");
|
||||
qm.dispose();
|
||||
}
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
function start(mode, type, selection) {
|
||||
qm.startQuest();
|
||||
qm.getPlayer().updateQuestInfo(3507, 1);
|
||||
//qm.getPlayer().updateQuestInfo(3507, "1");
|
||||
qm.completeQuest();
|
||||
qm.sendOk("You have regained your memories and are now allowed to go to #m270020000#.");
|
||||
qm.sendOk("You have regained your memories, talk to #b#p2140001##k to get the pass.");
|
||||
qm.dispose();
|
||||
}
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
function start(mode, type, selection) {
|
||||
qm.startQuest();
|
||||
qm.getPlayer().updateQuestInfo(3507, 1);
|
||||
//qm.getPlayer().updateQuestInfo(3507, "1");
|
||||
qm.completeQuest();
|
||||
qm.sendOk("You have regained your memories and are now allowed to go to #m270020000#.");
|
||||
qm.sendOk("You have regained your memories, talk to #b#p2140001##k to get the pass.");
|
||||
qm.dispose();
|
||||
}
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
function start(mode, type, selection) {
|
||||
qm.startQuest();
|
||||
qm.getPlayer().updateQuestInfo(3507, 1);
|
||||
//qm.getPlayer().updateQuestInfo(3507, "1");
|
||||
qm.completeQuest();
|
||||
qm.sendOk("You have regained your memories and are now allowed to go to #m270020000#.");
|
||||
qm.sendOk("You have regained your memories, talk to #b#p2140001##k to get the pass.");
|
||||
qm.dispose();
|
||||
}
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
function start(mode, type, selection) {
|
||||
qm.startQuest();
|
||||
qm.getPlayer().updateQuestInfo(3507, 1);
|
||||
//qm.getPlayer().updateQuestInfo(3507, "1");
|
||||
qm.completeQuest();
|
||||
qm.sendOk("You have regained your memories and are now allowed to go to #m270020000#.");
|
||||
qm.sendOk("You have regained your memories, talk to #b#p2140001##k to get the pass.");
|
||||
qm.dispose();
|
||||
}
|
||||
Reference in New Issue
Block a user