rlt Posted February 1, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 50 Reputation: 0 Joined: 01/27/12 Last Seen: February 4, 2013 Share Posted February 1, 2012 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. Quote Link to comment Share on other sites More sharing options...
Jasc Posted February 3, 2012 Group: Members Topic Count: 29 Topics Per Day: 0.01 Content Count: 270 Reputation: 20 Joined: 12/10/11 Last Seen: June 28, 2022 Share Posted February 3, 2012 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. Quote Link to comment Share on other sites More sharing options...
rlt Posted February 3, 2012 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 50 Reputation: 0 Joined: 01/27/12 Last Seen: February 4, 2013 Author Share Posted February 3, 2012 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. Quote Link to comment Share on other sites More sharing options...
Question
rlt
I have this script of concentration potion,
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.