Jump to content
  • 0

[HELP] Random items from crafted recipe


Question

Posted

Hiya,

 

i need help with this. When someone craft item, then he obtain randomly one of chosen items for that recipe.

 

For example: craft S weapon and there is randomly 2 items from that one recipe. Dont want both items to obtain but only one. But i want that one time someone craft normal item like it should craft but someone else can have luck and craft that other special item from that same recipe. its about geting randomly between those two items for that one recipe. Hope you understand what i want :P

 

Can someone help me with it? :)

 

Thanks

13 answers to this question

Recommended Posts

  • 0
Posted

Like the recipes that are with 60 % of probability ?

well i wanted it for 60% recipes. There is some chance it will success but i want add there another chance that if it succed player can get normal items or other one.

  • 0
Posted

Add another item using a separator or whatever. Never tried to do that with recipes.

if i add another item when craft succedd he get both items :) i need randomly from that items :D

 

  • 0
Posted

I think what he wants is just like the foundation item crafting in the gracia chronicles

dunno i dont know gracia chronicle :)

 

simpe example: crafting draconic bow, you get normal draconic bow or draconic bow with SA using typical draconic bow recipe 60% or 100%.

  • 0
Posted

Check what is used to separate multiple items, just check and read, we can give you hints but we aren't going to do it for you.

  • 0
Posted

Check what is used to separate multiple items, just check and read, we can give you hints but we aren't going to do it for you.

i make this, but i think it will give both items... product={{[draconic_bow];1};{[draconic_bow_focus];1}}

  • 0
Posted

can you show us all the recipe ?

 

recipe_begin [mk_draconic_bow_i] 774 level=9 material={{[rp_draconic_bow_i];1};{[draconic_bow_shaft];17};{[warsmith_holder];4};{[mithirl_alloy];385};{[reinforcing_plate];154};{[high_grade_suede];77};{[compound_braid];77};{[enria];77};{[crystal_s];214};{[gemstone_s];43}} catalyst={} product={{[draconic_bow];1};{[draconic_bow_focus];1}} npc_fee={} mp_consume=225 success_rate=60 item_id=7580 iscommonrecipe=0 recipe_end

  • 0
Posted

make a  skill with

 

effect={{i_restoration_random;{{{{[draconicfocus];1}};20};{{{[draconicslow];2}};20}}}

 

etc

 

and add to recipe

 

 

item_skill=[your_skillname]

  • 0
Posted

Funny how so many people suggest this and that, and don't really know a system works :)

 

 

You cannot create what your seeking with native Crafting System - it's designed for 1 item type creaton only.

Either you mod the system, like hook the recipemakeitem reply packet from Cached, OR do as pio suggests.

 

Let the recipe create an item that has a chance of creating item 1 2 3 or 4 etc etc.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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