Keeps displaying empty slots while also adding another item options on the list to refine what to change?
setarray .@position$[1],"Head","Body","Left Hand","Right Hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3";
set .@menu$,"";
for(set .@i,1; .@i<=10; set .@i,.@i+1)
set .@menu$, .@menu$+((getequipisequiped(.@i))?getequipname(.@i):.@position$[.@i]+"-[Unequipped]")+":";
set .@part, select(.@menu$);
if (!getequipisequiped(.@part)) {
mes "[Basta]";
switch(.@part) {
case 1:
mes "Is your head an equipment?";
break;
case 2:
mes "What do you want me to do?";
break;
case 3:
case 4:
mes "Making artificial hands is not my specialty.";
break;
case 5:
mes "Do you even know what a robe is?";
break;
case 6:
mes "If you want to refine your feet, don't come to me, try running a marathon.";
break;
case 7:
case 8:
mes "Where is the accessory?";
break;
case 9:
mes "Well... I don't see any equipment worth refining.";
break;
case 10:
mes "I can't make you smart. Go see a school teacher for that.";
break;
}
close;
}
if (!getequipisenableref(.@part)) {
mes "[Basta]";
mes "Even I cannot refine this item. There's no way.";
close;
}
set .@equipRefLevel,getequiprefinerycnt(.@part);
if (getequiprefinerycnt(.@part) < 10) {
mes "[Basta]";
mes "Haven't I told you? I only refine equipments that are +10 and above.";
close;
}
if (getequiprefinerycnt(.@part) == 20) {
mes "[Basta]";
mes "This weapon is perfect, no need to refine it anymore~";
close;
}
switch(getequipweaponlv(.@part)) {
default:
case 0:
set .@price,100000;
set .@material,6225; //HD_Carnium
set .@type$,"armor";
break;
case 1:
case 2:
case 3:
case 4:
set .@price,100000;
set .@material,6226; //HD_Bradium
set .@type$,"weapon";
break;
}
Question
Riotblade
Keeps displaying empty slots while also adding another item options on the list to refine what to change?
setarray .@position$[1],"Head","Body","Left Hand","Right Hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3"; set .@menu$,""; for(set .@i,1; .@i<=10; set .@i,.@i+1) set .@menu$, .@menu$+((getequipisequiped(.@i))?getequipname(.@i):.@position$[.@i]+"-[Unequipped]")+":"; set .@part, select(.@menu$); if (!getequipisequiped(.@part)) { mes "[Basta]"; switch(.@part) { case 1: mes "Is your head an equipment?"; break; case 2: mes "What do you want me to do?"; break; case 3: case 4: mes "Making artificial hands is not my specialty."; break; case 5: mes "Do you even know what a robe is?"; break; case 6: mes "If you want to refine your feet, don't come to me, try running a marathon."; break; case 7: case 8: mes "Where is the accessory?"; break; case 9: mes "Well... I don't see any equipment worth refining."; break; case 10: mes "I can't make you smart. Go see a school teacher for that."; break; } close; } if (!getequipisenableref(.@part)) { mes "[Basta]"; mes "Even I cannot refine this item. There's no way."; close; } set .@equipRefLevel,getequiprefinerycnt(.@part); if (getequiprefinerycnt(.@part) < 10) { mes "[Basta]"; mes "Haven't I told you? I only refine equipments that are +10 and above."; close; } if (getequiprefinerycnt(.@part) == 20) { mes "[Basta]"; mes "This weapon is perfect, no need to refine it anymore~"; close; } switch(getequipweaponlv(.@part)) { default: case 0: set .@price,100000; set .@material,6225; //HD_Carnium set .@type$,"armor"; break; case 1: case 2: case 3: case 4: set .@price,100000; set .@material,6226; //HD_Bradium set .@type$,"weapon"; break; }
Link to comment
Share on other sites
2 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.