Jump to content
  • 0

Make Enriched Ori/Elu NPC


DanialFX

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  43
  • Reputation:   0
  • Joined:  02/10/14
  • Last Seen:  

Need 300 pcs oridicon or elunium to make enriched and only have 10% success rate to make it

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  715
  • Reputation:   83
  • Joined:  01/05/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  43
  • Reputation:   0
  • Joined:  02/10/14
  • Last Seen:  

Exactly! Thank you

Edited by DanialFX
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
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.

×
×
  • Create New...