Jump to content
  • 0

Question

Posted (edited)

the quest is loaded but can not be clik

the code:

////---------------------------------------\\\\
//|| Scripted by GM AZUMOTO for ItalianRO ||\\
//||	  http://www.italianro.it/		 ||\\
//\\---------------------------------------//\\
AQUAF_T,63,160,3 script Mr Khao 411,{
mes "[] Mr Khao []";
mes "Ciao, Scarafaggio, io sono un antico maestro della Guerra, possiedo degli oggetti Potenti, vorresti ottenerli?";
next;
mes "[] Mr Kaho []";
mes "Questa è una delle Quest più difficili al mondo, che ti permetterà di diventare un ottimo guerriero!";
next;
menu "Khao",khao,"Grazie ma non sono interessato",abort;

abort:
mes "[] Mr Khao []";
mes "Come preferisci, buona giornata, e ricorda, la pazienza è forza!";
close;

khao:
mes "[] Mr Khao []";
mes "Per le Red Khao dovrai portarmi:";
mes "5 Ifrit Card";
mes "500 Burning Heart";
mes "2000 Skull";
mes "62 Kaho Card";
mes "50 Emperium";
mes "3 Mithril Coin";
mes "10 Baphomet Doll";
mes "10 Chonchon Doll";
mes "10 Osiris Doll";
mes "10 Poring Doll";
mes "10 Raccoon Doll";
mes "10 Rocker Doll";
mes "10 Spore Doll";
next:
mes "[] Mr Khao []";
mes "Questo ti darà: Str+ 20, int+ 20, vit+ 40, agi+ 40, Luk+ 50, Mdef +40";
mes "Resistenza all'elemento fuoco +20%, Aumento danno con elemento fuoco +20%";
next;
mes "[] Mr Kaho []";
mes "Hai ciò che mi serve?";
menu "Sì, certamente",yes1,"No, mi dispiace..",abort;

yes1:
mes "[] Mr Khao []";
mes "Fammi controllare..";
if (countitem(7037) > 499) && (countitem(4430) > 4) && (countitem(7005) > 1999) && (countitem(4065) > 61) && (countitem(714) > 69) && (countitem(674) > 2) && (countitem(750) > 9) && (countitem(742) > 9) && (countitem(751) > 9) && (countitem(741) > 9) && (countitem(754) > 9) && (countitem(752) > 9) && (countitem(743) > 9) && (countitem(753) > 9) goto give_khao;
if (countitem(7037) < 500) && (countitem(4430) < 5) && (countitem(7005) < 2000) && (countitem(4065) < 62) && (countitem(714) < 70) && (countitem(674) < 3) && (countitem(750) < 10) && (countitem(742) < 10) && (countitem(751) < 10) && (countitem(741) < 10) && (countitem(754) < 10) && (countitem(752) < 10) && (countitem(743) < 10) && (countitem(753) < 10) goto nogive;

nogive:
mes "[] Mr Khao []";
mes "Mi dispiace, ma non hai tutti gli item che mi servono, controlla meglio e torna da me quando sarai pronto!";
close;

give_khao:
mes "[] Mr Khao []";
mes "Sì, c'è tutto! Congratulazioni, ecco a te!";
delitem 7037,500;
delitem 4430,5;
delitem 7005,2000;
delitem 4065,62;
delitem 714,70;
delitem 674,3;
delitem 750,10;
delitem 751,10;
delitem 742,10;
delitem 741,10;
delitem 754,10;
delitem 752,10;
delitem 743,10;
delitem 753,10;
getitem 30141,1;
announce "Il giocatore "+strcharinfo(0)+" ha ottenuto la quest Red Khao! Congratulazioni!",0;
close;
end;
}

NPC_KHAO.txt

Edited by Emistry
Please use [OCDEBOX] or Attachments for long contents.

5 answers to this question

Recommended Posts

Posted
[Error]:  Loading NPC file: npc/zzz.txt
script error on npc/zzz.txt line 318
   set_label: invalid label name
  313 : mes "10 Osiris Doll";
  314 : mes "10 Poring Doll";
  315 : mes "10 Raccoon Doll";
  316 : mes "10 Rocker Doll";
  317 : mes "10 Spore Doll";
*  318 : 'n'ext:
  319 : mes "[] Mr Khao []";
  320 : mes "Questo ti darÓ: Str+ 20, int+ 20, vit+ 40, agi+ 40, Luk+ 50, Mdef+40";
  321 : mes "Resistenza all'elemento fuoco +20%, Aumento danno con elemento fuoco +20%";
  322 : next;
  323 : mes "[] Mr Kaho []";

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...