Jump to content
  • 0

Make Enriched Ori/Elu NPC


Question

3 answers to this question

Recommended Posts

Posted

Try this

map,x,y,loc<TAB>script<TAB>Enriched Ore Crafter<TAB>826,{
    switch(select("Make Enriched Oridecon:Make Enriched Elunium:Nevermind")) {
        case 1:
            mes "I will need 300pcs of Oridecon.";
            next;
                if(countitem(984) >= 300) {
                    set @rand,rand(1,100);
                        if(@rand <= 10) {
                            delitem 984,300;
                            getitem 7620,1;
                            mes "Congrats you just made a Enriched Oridecon.";
                            emotion 21;
                            close;
                        } else {
                        delitem 984,300;
                        mes "Sorry! Failed to make item.";
                        emotion 23;
                        close;
                        }
                    }
                mes "You do not have enough Oridecon.";
                close;
        case 2:
            mes "I will need 300pcs of Elunium.";
            next;
                if(countitem(985) >= 300) {
                    set @rand,rand(1,100);
                    if(@rand <= 10) {
                            delitem 985,300;
                            getitem 7619,1;
                            mes "Congrats you just made a Enriched Elunium.";
                            emotion 21;
                            close;
                        } else {
                    delitem 985,300;
                    mes "Sorry! Failed to make item.";
                    emotion 23;
                    close;
                    }
                }
            mes "You do not have enough Elunium.";
            close;
            
        case 3:
            close;
    }
}
  • Upvote 1

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