NoobInLife Posted January 5, 2024 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 12/26/23 Last Seen: July 9, 2024 Share 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 Link to comment Share on other sites More sharing options...
0 Chaos92 Posted January 5, 2024 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1822 Reputation: 288 Joined: 08/03/12 Last Seen: 5 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 NoobInLife Posted January 6, 2024 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 12/26/23 Last Seen: July 9, 2024 Author Share 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 Link to comment Share on other sites More sharing options...
0 Chaos92 Posted January 6, 2024 Group: Members Topic Count: 49 Topics Per Day: 0.01 Content Count: 1822 Reputation: 288 Joined: 08/03/12 Last Seen: 5 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 NoobInLife Posted January 7, 2024 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 12/26/23 Last Seen: July 9, 2024 Author Share 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 Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
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.