NoobInLife Posted January 5, 2024 Posted January 5, 2024 Hi, Can someone create a script or rAthena' script to allows items only in "Fav" inventory to applies effects like how charm works in D2? IE, item / charm in Fav inventory == add hp bonus of 10 per items. Can this same script be used for conditional effects? Like, +100hp bonus if charm id# 01 exist in "Fav" inventory? Quote
0 Chaos92 Posted January 5, 2024 Posted January 5, 2024 30 minutes ago, NoobInLife said: Hi, Can someone create a script or rAthena' script to allows items only in "Fav" inventory to applies effects like how charm works in D2? IE, item / charm in Fav inventory == add hp bonus of 10 per items. Can this same script be used for conditional effects? Like, +100hp bonus if charm id# 01 exist in "Fav" inventory? maybe use countitem /rentalcountitem and add the effect in the item script ? doesnt need to be added in Fav inventory. Quote
0 NoobInLife Posted January 6, 2024 Author Posted January 6, 2024 18 hours ago, Chaos92 said: maybe use countitem /rentalcountitem and add the effect in the item script ? doesnt need to be added in Fav inventory. Does this method applies item effects while in inventory? I only know of item effect only applying when equipped. Any example? Quote
0 Chaos92 Posted January 6, 2024 Posted January 6, 2024 5 hours ago, NoobInLife said: Does this method applies item effects while in inventory? I only know of item effect only applying when equipped. Any example? if (countitem(512) > 5) {bonus bAllStats,1;} Something like this, but most probably it wont be updated then the item is consumed/trade ASAP. take effect when itemdb is reloaded or character is relogged. Quote
0 NoobInLife Posted January 7, 2024 Author Posted January 7, 2024 16 hours ago, Chaos92 said: if (countitem(512) > 5) {bonus bAllStats,1;} Something like this, but most probably it wont be updated then the item is consumed/trade ASAP. take effect when itemdb is reloaded or character is relogged. But this will just be counting item id'512, if it is above 5, applies AllStats, 1. Can use it as (bonus bAllStats, (countitem (512))?, can be this be calculated in inventory? I only know script in itemdb applies only when equipped in socket. Quote
Question
NoobInLife
Hi,
Can someone create a script or rAthena' script to allows items only in "Fav" inventory to applies effects like how charm works in D2?
IE, item / charm in Fav inventory == add hp bonus of 10 per items.
Can this same script be used for conditional effects? Like, +100hp bonus if charm id# 01 exist in "Fav" inventory?
4 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.