ays297 Posted October 26, 2012 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
AnnieRuru Posted October 26, 2012 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
AnnieRuru Posted October 26, 2012 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
ays297 Posted October 26, 2012 Author Posted October 26, 2012 I found a src mod of OnPCUseSkillEvent from Alukas and solved some of my problem. But not every thing. Quote
Vach Posted October 26, 2012 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
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?
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.