Whole Idea:
1. Scroll that gives 1 item from a pool of items (Let's say like OBB)
2. You can set the chance of the item of how high or low it could be selected. (Let's say like chance rate)
3. If the item produced is less than 5%, it would announce the name and item received.
What I've tried and done,
1. Used custom OBB function and it's rate, seems okay but not sure if it could announce the name and item received. (also it's equips are unidentified)
2. Tried Stolao's Custom function, but understanding it, it's weight over total weight, so I plan to make a 1% chance out of a 100, I need to add multiple items until 100 to get that chance rate. seems very messy from what I've understand, (please correct me if I'm wrong), also not sure if I can add announce function here.
Question
kevinyrchua
Hi all,
I need help on scripting for this scroll,
Whole Idea:
1. Scroll that gives 1 item from a pool of items (Let's say like OBB)
2. You can set the chance of the item of how high or low it could be selected. (Let's say like chance rate)
3. If the item produced is less than 5%, it would announce the name and item received.
What I've tried and done,
1. Used custom OBB function and it's rate, seems okay but not sure if it could announce the name and item received. (also it's equips are unidentified)
2. Tried Stolao's Custom function, but understanding it, it's weight over total weight, so I plan to make a 1% chance out of a 100, I need to add multiple items until 100 to get that chance rate. seems very messy from what I've understand, (please correct me if I'm wrong), also not sure if I can add announce function here.
*if anything goes, will use Stolao's script.
{ callfunc "F_RandWeight",501,1,502,1503,1,504,1; },{},{}
Need help here
30100,Freya's_Scroll,Freya's Scroll,2,20,,10,,,,,0xFFFFFFFF,63,2,,,,,,{NEED HELP SCRIPT HERE},{},{}
Link to comment
Share on other sites
5 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.