More Masteria quests + several minor fixes

Added more quests on Masteria and updated drop data in the region. Fixed
mystic door on slopes deploying players unproperly. Fixed mounts
equipped by low level players crashing the client.
This commit is contained in:
ronancpl
2017-07-12 02:36:20 -03:00
parent 57125a70ce
commit 7f80f45553
70 changed files with 7004 additions and 6420 deletions

31
scripts/quest/8221.js Normal file
View File

@@ -0,0 +1,31 @@
/* ===========================================================
Ronan Lana
NPC Name: Jack
Description: Quest - Mark of Heroism
=============================================================
Version 1.0 - Script Done.(11/7/2017)
=============================================================
*/
var status = -1;
function start(mode, type, selection) {
status++;
if (mode != 1) {
if(type == 1 && mode == 0)
status -= 2;
else{
qm.sendOk("Okay, then. See you around.");
qm.dispose();
return;
}
}
if (status == 0){
qm.sendAcceptDecline("It's about time! We need to make you a way to travel safely to the summit of the Crimsonwood Valley, or else all we've been doing was for naught. You have to lay hands on the #b#t3992039##k. Are you ready to go?");
}
else if (status == 1){
qm.sendOk("Okay, I need you to have these items on hand first: #b10 #t4010006##k, #b4 #t4032005##k and #b1 #t4004000##k. Go!");
qm.forceStartQuest();
qm.dispose();
}
}

View File

@@ -46,14 +46,9 @@ function end(mode, type, selection) {
}
}
if (status == 0){
if(!qm.canHold(4032018, 1)) {
qm.sendOk("I'm afraid you don't have a slot available on your ETC inventory.");
}
else if(qm.haveItem(4032032, 1)) {
if(qm.haveItem(4032032, 1)) {
qm.sendOk("Hello, native of this world. So you have a message that needs translation? My people back in Versal is known for mastering many foreign languages, this one may very well be some we know. Please stand by...");
qm.gainItem(4032032, -1);
qm.gainItem(4032018, 1);
qm.sendOk("Hello, native of this world. So you have a message that needs translation? My people back in Versal is known for mastering many foreign languages, this one may very well be some we know. Please stand by... Here, the translated transcript.");
qm.forceCompleteQuest();
} else {
qm.sendOk("I'm afraid you don't have the letter you claimed to have with you.");

View File

@@ -25,11 +25,11 @@ function start(mode, type, selection) {
else if (status == 1){
if(qm.haveItem(4032018, 1)) {
qm.forceStartQuest();
} else if (qm.canHold(4032018, 1)) {
} else if(qm.canHold(4032018, 1)) {
qm.gainItem(4032018, 1);
qm.forceStartQuest();
} else {
qm.sendOk("Hey. There's no slot on your ETC.");
qm.sendOk("Oy, you need a slot in your ETC to get the communique.");
}
qm.dispose();

33
scripts/quest/8231.js Normal file
View File

@@ -0,0 +1,33 @@
/* ===========================================================
Ronan Lana
NPC Name: Lita Lawless
Description: Quest - Bounty Hunter - Fool's Gold
=============================================================
Version 1.0 - Script Done.(11/7/2017)
=============================================================
*/
var status = -1;
function start(mode, type, selection) {
status++;
if (mode != 1) {
if(type == 1 && mode == 0)
status -= 2;
else{
qm.sendOk("Okay, then. See you around.");
qm.dispose();
return;
}
}
if (status == 0) {
var target = "are Leprechauns";
qm.sendAcceptDecline("Hey, traveler! I need your help. A new threat has appeared to the citizens of the New Leaf City. I'm currently recruiting anyone, and this time's target #r" + target + "#k. Are you in?");
}
else if (status == 1) {
var reqs = "#r30 #t4032031##k";
qm.sendOk("Very well. Get me #r" + reqs + "#k, asap. The NLC is counting on you.");
qm.forceStartQuest();
qm.dispose();
}
}

33
scripts/quest/8232.js Normal file
View File

@@ -0,0 +1,33 @@
/* ===========================================================
Ronan Lana
NPC Name: Lita Lawless
Description: Quest - Bounty Hunter - Fool's Gold
=============================================================
Version 1.0 - Script Done.(11/7/2017)
=============================================================
*/
var status = -1;
function start(mode, type, selection) {
status++;
if (mode != 1) {
if(type == 1 && mode == 0)
status -= 2;
else{
qm.sendOk("Okay, then. See you around.");
qm.dispose();
return;
}
}
if (status == 0) {
var target = "are Leprechauns";
qm.sendAcceptDecline("Hey, traveler! I need your help. A new threat has appeared to the citizens of the New Leaf City. I'm currently recruiting anyone, and this time's target #r" + target + "#k. Are you in?");
}
else if (status == 1) {
var reqs = "#r30 #t4032031##k";
qm.sendOk("Very well. Get me #r" + reqs + "#k, asap. The NLC is counting on you.");
qm.forceStartQuest();
qm.dispose();
}
}

33
scripts/quest/8233.js Normal file
View File

@@ -0,0 +1,33 @@
/* ===========================================================
Ronan Lana
NPC Name: Lita Lawless
Description: Quest - Bounty Hunter - Rags to Riches
=============================================================
Version 1.0 - Script Done.(11/7/2017)
=============================================================
*/
var status = -1;
function start(mode, type, selection) {
status++;
if (mode != 1) {
if(type == 1 && mode == 0)
status -= 2;
else{
qm.sendOk("Okay, then. See you around.");
qm.dispose();
return;
}
}
if (status == 0) {
var target = "are Elderwraiths";
qm.sendAcceptDecline("Hey, traveler! I need your help. A new threat has appeared to the citizens of the New Leaf City. I'm currently recruiting anyone, and this time's target #r" + target + "#k. Are you in?");
}
else if (status == 1) {
var reqs = "#r30 #t4032011##k";
qm.sendOk("Very well. Get me #r" + reqs + "#k, asap. The NLC is counting on you.");
qm.forceStartQuest();
qm.dispose();
}
}

33
scripts/quest/8234.js Normal file
View File

@@ -0,0 +1,33 @@
/* ===========================================================
Ronan Lana
NPC Name: Lita Lawless
Description: Quest - Bounty Hunter - Rags to Riches
=============================================================
Version 1.0 - Script Done.(11/7/2017)
=============================================================
*/
var status = -1;
function start(mode, type, selection) {
status++;
if (mode != 1) {
if(type == 1 && mode == 0)
status -= 2;
else{
qm.sendOk("Okay, then. See you around.");
qm.dispose();
return;
}
}
if (status == 0) {
var target = "are Elderwraiths";
qm.sendAcceptDecline("Hey, traveler! I need your help. A new threat has appeared to the citizens of the New Leaf City. I'm currently recruiting anyone, and this time's target #r" + target + "#k. Are you in?");
}
else if (status == 1) {
var reqs = "#r30 #t4032011##k";
qm.sendOk("Very well. Get me #r" + reqs + "#k, asap. The NLC is counting on you.");
qm.forceStartQuest();
qm.dispose();
}
}

33
scripts/quest/8235.js Normal file
View File

@@ -0,0 +1,33 @@
/* ===========================================================
Ronan Lana
NPC Name: Lita Lawless
Description: Quest - Bounty Hunter - One Step A-Head
=============================================================
Version 1.0 - Script Done.(11/7/2017)
=============================================================
*/
var status = -1;
function start(mode, type, selection) {
status++;
if (mode != 1) {
if(type == 1 && mode == 0)
status -= 2;
else{
qm.sendOk("Okay, then. See you around.");
qm.dispose();
return;
}
}
if (status == 0) {
var target = "is the Headless Horseman";
qm.sendAcceptDecline("Hey, traveler! I need your help. A new threat has appeared to the citizens of the New Leaf City. I'm currently recruiting anyone, and this time's target #r" + target + "#k. Are you in?");
}
else if (status == 1) {
var reqs = "#r1 #t4031903##k";
qm.sendOk("Very well. Get me #r" + reqs + "#k, asap. The NLC is counting on you.");
qm.forceStartQuest();
qm.dispose();
}
}

33
scripts/quest/8236.js Normal file
View File

@@ -0,0 +1,33 @@
/* ===========================================================
Ronan Lana
NPC Name: Lita Lawless
Description: Quest - Bounty Hunter - One Step A-Head
=============================================================
Version 1.0 - Script Done.(11/7/2017)
=============================================================
*/
var status = -1;
function start(mode, type, selection) {
status++;
if (mode != 1) {
if(type == 1 && mode == 0)
status -= 2;
else{
qm.sendOk("Okay, then. See you around.");
qm.dispose();
return;
}
}
if (status == 0) {
var target = "is the Headless Horseman";
qm.sendAcceptDecline("Hey, traveler! I need your help. A new threat has appeared to the citizens of the New Leaf City. I'm currently recruiting anyone, and this time's target #r" + target + "#k. Are you in?");
}
else if (status == 1) {
var reqs = "#r1 #t4031903##k";
qm.sendOk("Very well. Get me #r" + reqs + "#k, asap. The NLC is counting on you.");
qm.forceStartQuest();
qm.dispose();
}
}

33
scripts/quest/8237.js Normal file
View File

@@ -0,0 +1,33 @@
/* ===========================================================
Ronan Lana
NPC Name: Lita Lawless
Description: Quest - Bounty Hunter - Catch a Bigfoot by the Toe
=============================================================
Version 1.0 - Script Done.(11/7/2017)
=============================================================
*/
var status = -1;
function start(mode, type, selection) {
status++;
if (mode != 1) {
if(type == 1 && mode == 0)
status -= 2;
else{
qm.sendOk("Okay, then. See you around.");
qm.dispose();
return;
}
}
if (status == 0) {
var target = "is the Bigfoot";
qm.sendAcceptDecline("Hey, traveler! I need your help. A new threat has appeared to the citizens of the New Leaf City. I'm currently recruiting anyone, and this time's target #r" + target + "#k. Are you in?");
}
else if (status == 1) {
var reqs = "#r1 #t4032013##k";
qm.sendOk("Very well. Get me #r" + reqs + "#k, asap. The NLC is counting on you.");
qm.forceStartQuest();
qm.dispose();
}
}

33
scripts/quest/8238.js Normal file
View File

@@ -0,0 +1,33 @@
/* ===========================================================
Ronan Lana
NPC Name: Lita Lawless
Description: Quest - Bounty Hunter - Catch a Bigfoot by the Toe
=============================================================
Version 1.0 - Script Done.(11/7/2017)
=============================================================
*/
var status = -1;
function start(mode, type, selection) {
status++;
if (mode != 1) {
if(type == 1 && mode == 0)
status -= 2;
else{
qm.sendOk("Okay, then. See you around.");
qm.dispose();
return;
}
}
if (status == 0) {
var target = "is the Bigfoot";
qm.sendAcceptDecline("Hey, traveler! I need your help. A new threat has appeared to the citizens of the New Leaf City. I'm currently recruiting anyone, and this time's target #r" + target + "#k. Are you in?");
}
else if (status == 1) {
var reqs = "#r1 #t4032013##k";
qm.sendOk("Very well. Get me #r" + reqs + "#k, asap. The NLC is counting on you.");
qm.forceStartQuest();
qm.dispose();
}
}