Jump to content
  • 0

Unlimited Items and skill_require_db.txt


ays297

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  49
  • Reputation:   0
  • Joined:  11/30/11
  • Last Seen:  

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? :o

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  49
  • Reputation:   0
  • Joined:  11/30/11
  • Last Seen:  

Any idea on how I can do that?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

move topic to source modification ? lol

I'm not interested in making skill modification though, I only prefer script type source modification

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  49
  • Reputation:   0
  • Joined:  11/30/11
  • Last Seen:  

I found a src mod of OnPCUseSkillEvent from Alukas and solved some of my problem. But not every thing. :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...