Jump to content
  • 0

Shared delay item script


rans

Question


  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

Hello Good day to all.
Can i request a function of delay. 
The function will have a list of item ids that will share its delay/cooldown. for example i put item id 501,502,503 on the function and set the delay to 500ms
when i use the 501 item id. the other item (502,503) will also cooldown the same time with 501.

Thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  333
  • Reputation:   67
  • Joined:  09/05/12
  • Last Seen:  

Check "db/(pre-)re/item_delay.txt" and try to add this :
501,500,SC_REUSE_LIMIT_MTF
502,500,SC_REUSE_LIMIT_MTF
503,500,SC_REUSE_LIMIT_MTF

Its in the file on how to use the SC_GroupId for the item delay.
 

// <SC_GroupID>
//     SC (status change) group for the item.
//     Example for SC_REUSE_LIMIT_MTF
//         12658,10000,SC_REUSE_LIMIT_MTF // Transformation Scroll(Deviruchi)
//         12659,10000,SC_REUSE_LIMIT_MTF // Transformation Scroll(Raydric)
//     -> 12658 has reuse delay for 10 seconds, and also,
//        12659 cannot be used when this delay is active.

Hope it helps.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  104
  • Topics Per Day:  0.02
  • Content Count:  429
  • Reputation:   60
  • Joined:  08/19/12
  • Last Seen:  

15 hours ago, GodKnows Jhomz said:

Check "db/(pre-)re/item_delay.txt" and try to add this :
501,500,SC_REUSE_LIMIT_MTF
502,500,SC_REUSE_LIMIT_MTF
503,500,SC_REUSE_LIMIT_MTF

Its in the file on how to use the SC_GroupId for the item delay.
 


// <SC_GroupID>
//     SC (status change) group for the item.
//     Example for SC_REUSE_LIMIT_MTF
//         12658,10000,SC_REUSE_LIMIT_MTF // Transformation Scroll(Deviruchi)
//         12659,10000,SC_REUSE_LIMIT_MTF // Transformation Scroll(Raydric)
//     -> 12658 has reuse delay for 10 seconds, and also,
//        12659 cannot be used when this delay is active.

Hope it helps.

Thanks i'll try it

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