ays297 Posted October 26, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 49 Reputation: 0 Joined: 11/30/11 Last Seen: November 2, 2014 Share Posted October 26, 2012 I'm trying to make a separate item, like an Unlimited Poison Bottle, that will enable the use of Enchant Deadly Poison that won't use Unlimited Poison bottle, but will use a Poison bottle if Unlimited Poison Bottle is not present in the inventory. 378,0,0,60:70:80:90:100,0,0,0,99,0,0,none,0,678,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 //ASC_EDP#ƒGƒ“ƒ`ƒƒƒ“ƒgƒfƒbƒhƒŠ?ƒ|ƒCƒYƒ“# Anyone here knows how? Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 26, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 26, 2012 if you mean u want to make a OR condition like this if ( countitem(unlimited poison bottle) ) { useskill enchant deadly poison }else if ( countitem(poison bottle) ) { delitem poison bottle useskill enchant deadly poison } you have to do something like this in the skill.c afterall, skill_require_db.txt only applicable with AND condition Quote Link to comment Share on other sites More sharing options...
ays297 Posted October 26, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 49 Reputation: 0 Joined: 11/30/11 Last Seen: November 2, 2014 Author Share Posted October 26, 2012 Any idea on how I can do that? Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 26, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 26, 2012 move topic to source modification ? lol I'm not interested in making skill modification though, I only prefer script type source modification Quote Link to comment Share on other sites More sharing options...
ays297 Posted October 26, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 49 Reputation: 0 Joined: 11/30/11 Last Seen: November 2, 2014 Author Share Posted October 26, 2012 I found a src mod of OnPCUseSkillEvent from Alukas and solved some of my problem. But not every thing. Quote Link to comment Share on other sites More sharing options...
Vach Posted October 26, 2012 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 326 Reputation: 19 Joined: 09/27/12 Last Seen: February 27, 2021 Share Posted October 26, 2012 You can always put the unlimited poison bottle in as a skill requirement but just have the value as "0“, this prevents any other item from being used, though. Quote Link to comment Share on other sites More sharing options...
Question
ays297
I'm trying to make a separate item, like an Unlimited Poison Bottle, that will enable the use of Enchant Deadly Poison that won't use Unlimited Poison bottle, but will use a Poison bottle if Unlimited Poison Bottle is not present in the inventory.
Anyone here knows how?
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.