Jump to content

Recommended Posts

Try this but I don't know if it works I just edited the Lotti Gurl of Mr. Euphy

prontera,150,50,5 script Piercing Expert 968,{
mes "[Piercing Expert]";
mes "I've been researching ways to use Auger of Spirit to put a socket on Elven Ears and Black Devil Mask";
next;
mes "[Piercing Expert]";
menu "Auger of Spirit for Elven Ears [1]",-,"Auger of Spirit for Black Devil Mask [1]",bdm;
if (countitem(.Cost[0]) < .Cost[1]) close;
next;
if(select("Deal me in!:No way...")==2) close;
mes "[Piercing Expert]";
mes "Here we go...";
progressbar "",2;
delitem .Cost[0], .Cost[1];
set [email protected], rand(1,.Total);
if (rand(1,100) > getd(".P"[email protected]+"[0]")) {
 for(set [email protected],0; [email protected]<getarraysize(.Default); set [email protected],[email protected]+2) {
  getitem .Default[[email protected]], .Default[[email protected]+1];
  if ([email protected][0]) setarray [email protected][0], .Default[[email protected]], .Default[[email protected]+1]; } }
else {
 for(set [email protected],1; [email protected]<getarraysize(getd(".P"[email protected])); set [email protected],[email protected]+2) {
  getitem getd(".P"[email protected]+"["[email protected]+"]"), getd(".P"[email protected]+"["+([email protected]+1)+"]");
  if ([email protected][0]) setarray [email protected][0], getd(".P"[email protected]+"["[email protected]+"]"), getd(".P"[email protected]+"["+([email protected]+1)+"]"); } }
announce "Congratulations to "+strcharinfo(0)+" for getting "[email protected][1]+"x "+getitemname([email protected][0])+"!",0;
specialeffect2 248;
close;

OnInit:
// Format: <%>,<item ID>,<count>{,...};
setarray .P1[0],70,607,1; //607 = YGG change to you Black Devil Mask Id
setarray .Default[0],0,0;
setarray .Cost[0],6396,1;//6396 = Auger of Spirit
set .Total,1;
end;

bdm:
if (countitem(.Cost[0]) < .Cost[1]) close;
next;
if(select("Deal me in!:No way...")==2) close;
mes "[Piercing Expert]";
mes "Here we go...";
progressbar "",2;
delitem .Cost[0], .Cost[1];
set [email protected], rand(1,.Total);
if (rand(1,100) > getd(".P"[email protected]+"[0]")) {
 for(set [email protected],0; [email protected]<getarraysize(.Default); set [email protected],[email protected]+2) {
  getitem .Default[[email protected]], .Default[[email protected]+1];
  if ([email protected][0]) setarray [email protected][0], .Default[[email protected]], .Default[[email protected]+1]; } }
else {
 for(set [email protected],1; [email protected]<getarraysize(getd(".P"[email protected])); set [email protected],[email protected]+2) {
  getitem getd(".P"[email protected]+"["[email protected]+"]"), getd(".P"[email protected]+"["+([email protected]+1)+"]");
  if ([email protected][0]) setarray [email protected][0], getd(".P"[email protected]+"["[email protected]+"]"), getd(".P"[email protected]+"["+([email protected]+1)+"]"); } }
announce "Congratulations to "+strcharinfo(0)+" for getting "[email protected][1]+"x "+getitemname([email protected][0])+"!",0;
specialeffect2 248;
close;

OnInit:
// Format: <%>,<item ID>,<count>{,...};
setarray .P1[0],70,607,1; //607 = YGG change to you Black Devil Mask Id
setarray .Default[0],0,0;
setarray .Cost[0],6396,1;//6396 = Auger of Spirit
set .Total,1;
end;
}

}

Link to comment
Share on other sites

bdm:
if (countitem(.Cost[0]) < .Cost[1]) close;
next;
if(select("Deal me in!:No way...")==2) close;
mes "[Piercing Expert]";
mes "Here we go...";
progressbar "",2;
delitem .Cost[0], .Cost[1];
set [email protected], rand(1,.Total);
if (rand(1,100) > getd(".P"[email protected]+"[0]")) {
 for(set [email protected],0; [email protected]<getarraysize(.Default); set [email protected],[email protected]+2) {
  getitem .Default[[email protected]], .Default[[email protected]+1];
  if ([email protected][0]) setarray [email protected][0], .Default[[email protected]], .Default[[email protected]+1]; } }
else {
 for(set [email protected],1; [email protected]<getarraysize(getd(".P"[email protected])); set [email protected],[email protected]+2) {
  getitem getd(".P"[email protected]+"["[email protected]+"]"), getd(".P"[email protected]+"["+([email protected]+1)+"]");
  if ([email protected][0]) setarray [email protected][0], getd(".P"[email protected]+"["[email protected]+"]"), getd(".P"[email protected]+"["+([email protected]+1)+"]"); } }
announce "Congratulations to "+strcharinfo(0)+" for getting "[email protected][1]+"x "+getitemname([email protected][0])+"!",0;
specialeffect2 248;
close;

OnInit2:
// Format: <%>,<item ID>,<count>{,...};
setarray .P1[0],20,2204,1; // YGG change to you Black Devil Mask Id
setarray .Default[0],0,0;
setarray .Cost[0],6396,1;//6396 = Auger of Spirit
set .Total,1;

end; 

still getting the slotted elven ears >.<

Edited by imajhaynation
Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

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



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.