Jump to content
  • 0

Berz Quest modified


Question

Posted (edited)


//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
//= Quest to get the Berzebub Card
//===== Additional Comments: =================================
//= 1.1 Fixed ingredients. Was too exploitable [Lupus]
//= 1.2 Optimized. [Euphy]
//============================================================

hugel,55,145,4 script Mazingger Z 57,{

setarray .@Items[0],1056,100,1139,1,735,50,6325,50,6319,50;
set .@n$,"[Mazingger Z]";

mes .@n$;
if(BerzQuest == 1) {
mes "Our Conversation here is done. Please leave me alone now.";
close; }
mes "Wow! thats a great wing you have! i wanna tell you something, do you mind?";
next;
if(select("Keep Talking:Leave")==2) goto M_Leave;

mes .@n$;
mes "I used to have a friend, hes a great man.. but i guess nothing last forever..";
next;
mes .@n$;
mes "he can improve your wings! you'll be allot stronger with that wing, but he makes it out of strange things... i think he also performs a Ritual to make it.. you interested? .";
next;
if(select("Tell me more about it:Nah, I don't care about it")==2) goto M_Leave;

mes .@n$;
mes "It seems you are.. Hmmm.. i think its called ^FF0000Shaman Wings^000000, im not really sure.. but i know he makes them!!";
next;
mes .@n$;
mes "If you give me what i ask, i'll give you something that will favor the great wing creator i spoke of.";
for(set .@i,0; .@i<getarraysize(.@Items); set .@i,.@i+2) {
mes " ~ "+.@Items[.@i+1]+"x "+getitemname(.@Items[.@i]);
if (countitem(.@Items[.@i]) < .@Items[.@i+1]) set .@nr,1; }
next;
if(select("Im rich bitch! Fuck off!:Okay! Please wait here!")==2) goto M_Leave;

mes .@n$;
if (.@nr) {
mes "Ignorant fool! Your think your strong with those wings? dont make me laugh! pffff!";
close; }
for(set .@i,0; .@i<getarraysize(.@Items); set .@i,.@i+2)
delitem .@Items[.@i], .@Items[.@i+1];
getitem 4738,1;
set BerzQuest, 1;
mes "Here you go! ^FF0000Orb of Shaman^000000, Dont use it! or else, you'll regret it! haha!";
emotion e_grat;
close;

M_Leave:
mes .@n$;
mes "Prick!";
close;
}

i made 3 of these quest but with different items and requirements, the problem is,

when i finished quest #1 then #2 and #3 automatically becomes finished as well..

what do i need to change?

EDIT: i just duplicated the script and jsut replaced the text, items and prize..

Edited by stydianx
Please use [CODEBOX] or Attachments for long contents.

4 answers to this question

Recommended Posts

Posted

oohhh.. okay, let me try that :) thanks my friend :)

No no, he means change them in each file.

BerzQuest1, BerzQuest2, etc.

They are global permanent variables which will affect any other script that uses the same exact one.

hehey! it worked! thanks :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...