Jump to content
  • 0

@autopots bypasses item restrictions


Pink Guy

Question


  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

Hi I am currently using the @autopot script command from the official rA trunk and I ran into some problems.  I have disabled the use of YGG berry (607) on PVP and GVG maps but if you set it on @autopots, it still consume the potion and even bypasses the cooldown of the item (if you set cooldown on the potion).  I want to allow @autopot to be used in GVG and PVP maps.  I just don't want them being able to use the disabled potions using @autopot.  How can I make @autopot follow the item restrictions (disabled in maps and cd)? Or is there any way to make a blacklist for potions that cannot be added into @autopot?

Here's the link to the script that I use: https://github.com/rathena/rathena/blob/master/npc/custom/etc/autopot.txt

I would appreciate any help.

Thank you.

 

Edited by Pink Guy
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  131
  • Topics Per Day:  0.03
  • Content Count:  371
  • Reputation:   3
  • Joined:  11/14/11
  • Last Seen:  

11 hours ago, sader1992 said:

Thanks bro.  I feel stupid lol.  You the real MVP!

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