AnimeRO
-
Content Count
4 -
Joined
-
Last visited
Posts posted by AnimeRO
-
-
On 8/19/2017 at 6:56 AM, Dastgir said:Why revive a post from 2014? also please be clear.
also there's countitem2() command to check refine/cards of items.
sorry i am new i am trying to make a refine material as quest item but i dont know how to do that.,
heres my experimental but i got error on switch case
can you help me how to make a refine materials as quest material
example the npc menu would be, main gauche, gakkung,
then the quest material for main gauch is +10 Knife and 100 apples
and the requirements for Gakkung is +10 Bow and 5 Ygg
heres my experimental script but it gives me error please help im new at switch script
turbo_room,63,98,4 script test 4_M_BIBI,{
switch(select("Case 0","Case 1")) {
Case 0:
if(countitem2(25226,1,8,0,0,0,0,0) < 1){
mes " Sorry, but you haven't brought the requirements";
close;
}mes "Bwahahahah";
mes "Thank you for your help!!";
//getitem getarg(0), 1;
delitem2 25226,1,1,8,0,0,0,0,0;
getitem 30205,1;close;
break;
Case 1:
if(countitem2(25226,1,8,0,0,0,0,0) < 1){
mes " Sorry, but you haven't brought the requirements";
close;
}mes "Bwahahahah";
mes "Thank you for your help!!";
//getitem getarg(0), 1;
delitem2 25225,1,1,8,0,0,0,0,0;
getitem 30208,1;close;
break;
}
}
sorry i am new i am just trying to learn -
i am trying to make a refine quest if select case 0; he will change my +8 item to a clean custom item and if i select case 0; he will change it to other custom item
heres my script
turbo_room,63,98,4 script test 4_M_BIBI,{
switch(select("Case 0","Case 1")) {
Case 0:
if(countitem2(25226,1,8,0,0,0,0,0) < 1){
mes " Sorry, but you haven't brought the requirements";
close;
}mes "Bwahahahah";
mes "Thank you for your help!!";
//getitem getarg(0), 1;
delitem2 25226,1,1,8,0,0,0,0,0;
getitem 30205,1;close;
break;
Case 1:
if(countitem2(25226,1,8,0,0,0,0,0) < 1){
mes " Sorry, but you haven't brought the requirements";
close;
}mes "Bwahahahah";
mes "Thank you for your help!!";
//getitem getarg(0), 1;
delitem2 25225,1,1,8,0,0,0,0,0;
getitem 30208,1;close;
break;
}
}
-
can you give script for refine quest materials ? please?
[Request] Refine item as Requirements
in Script Requests
Posted
i am making a shop npc that sells custom item
then the lets say requirements are +10 knife 100 apples 100 elunium and 1k zeny
but i am browsing the forum and i cant see any guide until i see the 2014 post but theres no answer
how to make my dream npc posible sir?
i tryied browsing and searching for days i only see tcg shop and points shop but i want quest requirements would be a refine material