Keitenai Posted December 1, 2016 Posted December 1, 2016 (edited) File Name: RandomOptionDealer File Submitter: keitenai File Submitted: 1 Dec 2016 File Category: Utilities Content Author: keitenai Random item option Dealer NPC Script Information: This NPC script will be dealing 'random option enchantment' to players for a price of Zeny/Cashpoint Features: Configurable NPC dealing currency to 'Zeny' or 'Cashpoints'. Configurable dealing price. Configurable to allow overwriting the already existing option enchantment or not. Configurable fail chance rate. Configurable Minimum & Maximum option enchant effect Values. Configurable Maximum item Option slots. Version 1.1 Implemented optional Item requirement. WARNING: This random enchantment NPC have a chance of failing, and breaking the player's Chosen equipment along with its compounded cards. You can set the Fail chance rate from 0% to 100% NPC will warn the player about the Fail chance rate (%). The NPC will ask the player if he wants to take the risk and proceed with the random enchantment. Upon selecting the option to proceed, the player's item will get a "Random" option enchantment. Compatible with: rAthena ac2ba09 Download V1.1: RandomOptionDealer V1.1.txt Download V1: RandomOptionDealer.txt Hope you find this useful Edited February 12, 2017 by Keitenai 2 Quote
rizkiolivia Posted December 8, 2016 Posted December 8, 2016 no text script inside. please re-upload. Quote
Keitenai Posted February 12, 2017 Author Posted February 12, 2017 On 12/8/2016 at 11:52 AM, rizkiolivia said: no text script inside. please re-upload. Link update Quote
MyNoobScriptz Posted February 19, 2017 Posted February 19, 2017 hi Keitenai, i need to ban some item EX: item kvm , item mora ,item BB , item VB i using script setarray .@blacklist[0], 1501 ; but not work!! plz help me or guide me!! Quote
sikiro Posted April 12, 2017 Posted April 12, 2017 (edited) can i make a sugestion for this. would it be posible to make it so only certain items get certain effects for example only weapons can get dmg increase etc. for example i was trying this out and a knife has ghost armor type applied to it. that should be something for a garment or armor. also maybe make it so that there is a small list of effects that are extremely dificult to get Edited April 12, 2017 by sikiro Quote
Quesooo Posted October 8, 2017 Posted October 8, 2017 how to reset the random option of the item? Quote
jame156 Posted July 21, 2018 Posted July 21, 2018 How to whitelist Random Option instead of ignore Random Option Quote
kimplayro Posted July 30, 2020 Posted July 30, 2020 On 12/1/2016 at 9:40 PM, Keitenai said: File Name: RandomOptionDealer File Submitter: keitenai File Submitted: 1 Dec 2016 File Category: Utilities Content Author: keitenai Random item option Dealer NPC Script Information: This NPC script will be dealing 'random option enchantment' to players for a price of Zeny/Cashpoint Features: Configurable NPC dealing currency to 'Zeny' or 'Cashpoints'. Configurable dealing price. Configurable to allow overwriting the already existing option enchantment or not. Configurable fail chance rate. Configurable Minimum & Maximum option enchant effect Values. Configurable Maximum item Option slots. Version 1.1 Implemented optional Item requirement. WARNING: This random enchantment NPC have a chance of failing, and breaking the player's Chosen equipment along with its compounded cards. You can set the Fail chance rate from 0% to 100% NPC will warn the player about the Fail chance rate (%). The NPC will ask the player if he wants to take the risk and proceed with the random enchantment. Upon selecting the option to proceed, the player's item will get a "Random" option enchantment. Compatible with: rAthena ac2ba09 Download V1.1: RandomOptionDealer V1.1.txt Download V1: RandomOptionDealer.txt Hope you find this useful thx Quote
celeron0134 Posted June 25, 2021 Posted June 25, 2021 set .OverWrite,0; // Allows overwriting the already existing option enchantment ( 0 to disable ) -> It still overwrites the first RandOption set .OverWrite,1; // Allows overwriting the already existing option enchantment ( 0 to disable ) -> It Only Overwrites the first RandOption (Ex if you have 4 options) only the 1st one is being overwritten set .FailRate,0; // Sets fail chance -> Still Breaks the Equipment idk why set .MaxIndex,3; // Maximum option slots ( default is 0 to 4 ) -> Ex. if i add the 1st Option and i have 2 free slots.. there's a time that it will overwrite the 1st option Add a Continue or Save Option,, so if you didnt like the option you can discard it thanks Quote
Loke Posted March 16, 2024 Posted March 16, 2024 (edited) @Keitenai any update for 2024? Its nnot working now in latest emulator. Than ks Quote [Error]: buildin_rand: range (0) is too small. No randomness possible. [Warning]: Script command 'rand' returned failure. Edited March 16, 2024 by Loke Quote
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.