Keitenai Posted December 1, 2016 Share 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 Link to comment Share on other sites More sharing options...
spinzaku Posted December 2, 2016 Share Posted December 2, 2016 very nice!!!!!!!!!!!! Quote Link to comment Share on other sites More sharing options...
rizkiolivia Posted December 8, 2016 Share Posted December 8, 2016 no text script inside. please re-upload. Quote Link to comment Share on other sites More sharing options...
Keitenai Posted February 12, 2017 Author Share Posted February 12, 2017 On 12/8/2016 at 11:52 AM, rizkiolivia said: no text script inside. please re-upload. Link update Quote Link to comment Share on other sites More sharing options...
MyNoobScriptz Posted February 19, 2017 Share 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 [email protected][0], 1501 ; but not work!! plz help me or guide me!! Quote Link to comment Share on other sites More sharing options...
LOVE0825 Posted March 24, 2017 Share Posted March 24, 2017 Spoiler Quote Spoiler Spoiler 圖 Quote Link to comment Share on other sites More sharing options...
sikiro Posted April 12, 2017 Share 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 Link to comment Share on other sites More sharing options...
Quesooo Posted October 8, 2017 Share Posted October 8, 2017 how to reset the random option of the item? Quote Link to comment Share on other sites More sharing options...
jame156 Posted July 21, 2018 Share Posted July 21, 2018 How to whitelist Random Option instead of ignore Random Option Quote Link to comment Share on other sites More sharing options...
kimplayro Posted July 30, 2020 Share 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 Link to comment Share on other sites More sharing options...
celeron0134 Posted June 25, 2021 Share 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 Link to comment Share on other sites More sharing options...