Can someone edit this script I made.. I don't know how to do this in array or what script makers call it ... So yeah..
The script goes like this..
//Synthesizer quest - Base (EDEN)
prontera,104,54,4 script Scientist Que 857,{
if (BaseLevel > 70) {
mes "[scientist Que]";
mes "...So you're here for";
mes "the energy crystals.";
mes "You need to hunt 100 monster!";
mes "For every crystal energy!";
next;
mes "[scientist Que]";
mes "So.. choose what energy crystals you want. Goodluck!";
next;
switch(select("Unrefined Crystal Energy:Refined Crystal Energy:Pure Crystal Energy - 5:Pure Cyrstal Energy - 10")) {
case 1:
if(checkquest(19950) != 1){
switch(select("Requiem:Bathory:Spring Rabbit:Sleeper:Evil Druid:Petite:Clock")) {
case 1: callsub L_Quest1,19900,"Requiem";
case 2: callsub L_Quest1,19901,"Bathory";
case 3: callsub L_Quest1,19902,"Spring Rabbit";
case 4: callsub L_Quest1,19903,"Sleeper";
case 5: callsub L_Quest1,19904,"Evil Druid";
case 6: callsub L_Quest1,19905,"Petite";
case 7: callsub L_Quest1,19906,"Clock";
}
}else{
mes "[scientist Que]";
mes "You have just finished..";
mes "Unrefined Energy Crystal Quest";
mes "Comeback after 23 hours!";
close;
}
case 2:
if(checkquest(19951) != 1){
switch(select("Siroma:Dark Priest:Stapo:Solider")) {
case 1: callsub L_Quest2,19907,"Siroma";
case 2: callsub L_Quest2,19908,"Dark Priest";
case 3: callsub L_Quest2,19909,"Stapo";
case 4: callsub L_Quest2,19910,"Solider";
}
}else{
mes "[scientist Que]";
mes "You have just finished..";
mes "Refined Energy Crystal Quest";
mes "Comeback after 23 hours!";
close;
}
case 3:
if(checkquest(19952) != 1){
switch(select("Desert Wolf:Medusa:Pinguicula:Majoruros")) {
case 1: callsub L_Quest3,19911,"Desert Wolf";
case 2: callsub L_Quest3,19912,"Medusa";
case 3: callsub L_Quest3,19913,"Pinguicula";
case 4: callsub L_Quest3,19914,"Majoruros";
}
}else{
mes "[scientist Que]";
mes "You have just finished..";
mes "Pure Energy Crystal Quest";
mes "Comeback after 23 hours!";
close;
}
case 4:
if(checkquest(19953) != 1){
switch(select("Raydric:Naga:Ancient Mummy:Ancient Mimic")) {
case 1: callsub L_Quest4,19915,"Raydric";
case 2: callsub L_Quest4,19916,"Naga";
case 3: callsub L_Quest4,19917,"Ancient Mummy";
case 4: callsub L_Quest4,19918,"Ancient Mimic";
}
}else{
mes "[scientist Que]";
mes "You have just finished..";
mes "Pure Energy Crystal Quest";
mes "Comeback after 23 hours!";
close;
}
}
end;
}else{
mes "[scientist Que]";
mes "Sorry but you're not strong enough";
mes "to get this quest reward yet!";
mes "Come back again next time!";
mes "Thanks!";
close;
end;
}
L_Quest1:
if (checkquest(getarg(0),HUNTING) == 2) {
mes "[scientist Que]";
mes "Wow! You're amazing!";
mes "You hunted all 100 "+getarg(1)+".";
next;
mes "[scientist Que]";
mes "As a reward, here is your unrefined crystal energy..";
mes "Hope you can make the improved item of your choice!..";
next;
erasequest getarg(0);
getitem 6623,10;
setquest 19950;
mes "[scientist Que]";
mes "Wooohoo!";
mes "Good luck.";
close;
}
if (checkquest(getarg(0)) == -1) {
setquest getarg(0);
mes "[scientist Que]";
mes "Please hunt 100 "+getarg(1)+" and return here.";
close;
}
mes "[scientist Que]";
mes "Umm? You didn't hunt";
mes "all 100 "+getarg(1)+" yet...";
mes "Will you check again?";
close;
L_Quest2:
if (checkquest(getarg(0),HUNTING) == 2) {
mes "[scientist Que]";
mes "Wow! You're amazing!";
mes "You hunted all 100 "+getarg(1)+".";
next;
mes "[scientist Que]";
mes "As a reward, here is your unrefined crystal energy..";
mes "Hope you can make the improved item of your choice!..";
next;
erasequest getarg(0);
getitem 6624,10;
setquest 19951;
mes "[scientist Que]";
mes "Wooohoo!";
mes "Good luck.";
close;
}
if (checkquest(getarg(0)) == -1) {
setquest getarg(0);
mes "[scientist Que]";
mes "Please hunt 100 "+getarg(1)+" and return here.";
close;
}
mes "[scientist Que]";
mes "Umm? You didn't hunt";
mes "all 100 "+getarg(1)+" yet...";
mes "Will you check again?";
close;
L_Quest3:
if (checkquest(getarg(0),HUNTING) == 2) {
mes "[scientist Que]";
mes "Wow! You're amazing!";
mes "You hunted all 100 "+getarg(1)+".";
next;
mes "[scientist Que]";
mes "As a reward, here is your unrefined crystal energy..";
mes "Hope you can make the improved item of your choice!..";
next;
erasequest getarg(0);
getitem 6625,5;
setquest 19952;
mes "[scientist Que]";
mes "Wooohoo!";
mes "Good luck.";
close;
}
if (checkquest(getarg(0)) == -1) {
setquest getarg(0);
mes "[scientist Que]";
mes "Please hunt 100 "+getarg(1)+" and return here.";
close;
}
mes "[scientist Que]";
mes "Umm? You didn't hunt";
mes "all 100 "+getarg(1)+" yet...";
mes "Will you check again?";
close;
L_Quest4:
if (checkquest(getarg(0),HUNTING) == 2) {
mes "[scientist Que]";
mes "Wow! You're amazing!";
mes "You hunted all 100 "+getarg(1)+".";
next;
mes "[scientist Que]";
mes "As a reward, here is your unrefined crystal energy..";
mes "Hope you can make the improved item of your choice!..";
next;
erasequest getarg(0);
getitem 6625,10;
setquest 19953;
mes "[scientist Que]";
mes "Wooohoo!";
mes "Good luck.";
close;
}
if (checkquest(getarg(0)) == -1) {
setquest getarg(0);
mes "[scientist Que]";
mes "Please hunt 100 "+getarg(1)+" and return here.";
close;
}
mes "[scientist Que]";
mes "Umm? You didn't hunt";
mes "all 100 "+getarg(1)+" yet...";
mes "Will you check again?";
close;
}
If player choose Unrefined Crystal, then choose one of the quests. e.g. Requiem he will get it! but still can choose from the unrefined crystal again..
So.. I want that whenever a player already chosen a quest from the category, he/she can't choose quest again with the same category..
Am I understood here? or I freak out because I didn't explain it correctly? hehe. Sorry! yeah so, summarizing it, if player choose one quest from a category. He is prohibited to choose again from the same category until he/she finishes the quest and the cooldown of it.
Question
Meister
Good day,
Can someone edit this script I made.. I don't know how to do this in array or what script makers call it
... So yeah..
The script goes like this..
Link: http://upaste.me/7bd2950715d2628
My problem is..
If player choose Unrefined Crystal, then choose one of the quests. e.g. Requiem he will get it! but still can choose from the unrefined crystal again..
So.. I want that whenever a player already chosen a quest from the category, he/she can't choose quest again with the same category..
Am I understood here? or I freak out because I didn't explain it correctly? hehe. Sorry! yeah so, summarizing it, if player choose one quest from a category. He is prohibited to choose again from the same category until he/she finishes the quest and the cooldown of it.
Thanks!
bumping. sorry.
Edited by emongLink to comment
Share on other sites
20 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.