Jump to content
  • 0

Usable item if equipped with _____


rlt

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   0
  • Joined:  01/27/12
  • Last Seen:  

I have this script of concentration potion,

645,Center_Potion,Concentration Potion,2,800,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_ASPDPOTION0,1800000,4; if(isequipped(4142)) { bonus bAspdRate,90; } },{},{}

What I want it to do:

Case 1

- If you use item #645 without the item #4142 equipped, it will just give you the effect of item #645.

Case 2

- If you use item #645 with the item #4142 equipped, it will give you the effect of item #645 with the additional effect of item #4142.

What it does after I use item #645:

- Nothing.

- When I die, that's the only time it will give the effect of Case 2.

- Even if the SC_ASPDPOTION status is not present, Case 2 is still in effect.

- Only after I unequip item #4142, will it cancel the effect of Case 2.

Thank you.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  270
  • Reputation:   20
  • Joined:  12/10/11
  • Last Seen:  

since your potion has a timer, once it runs out, effect number 2 will still be there. As long as you keep 4142 in your equip, it will give you the benefit of the effect until you take it off, since you don't have a timer on baspdrate.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   0
  • Joined:  01/27/12
  • Last Seen:  

since your potion has a timer, once it runs out, effect number 2 will still be there. As long as you keep 4142 in your equip, it will give you the benefit of the effect until you take it off, since you don't have a timer on baspdrate.

But why is it that the effect only occurs after the character dies?

- How should I script it in order for #645 and #4142 to give max aspd if both items are in use/equipped, like a set effect or something?

- And if either one of the items is not present, it will just give the effect of the item itself.

Thank you.

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