Jump to content
  • 0

Taming item wont decrease after use it


mrlongshen

Question


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

this is my script. hope someone help me to fix it.

taming item:

22001,Angeling_Taming_Item,Angeling Taming Item,11,1000,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ pet 1069; },{},{}

For egg:

19030,Angeling_Egg,Angeling Egg,7,,10,0,,,,,,,,,,,,,{},{},{}

 

Pet db2:

 

1096,ANGELING,Angeling,18001,19030,,528,80,30,10,100,250,20,200,100,0,0,100,100,100,{ petloot 10; },{}

 

There problem is, when i to catch an egg, the taming item is like unlimited. so swt. so player can catch many times, i dont want like that, I want like official, when catch is fail, so the taming item is decrease, Hope someone can help me.

Edited by mrlongshen
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

change item type to 2

22001,Angeling_Taming_Item,Angeling Taming Item,2,1000,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ pet 1069; },{},{}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

thx alot emistry, problem solve :)

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...