Kakaroto Posted October 8, 2017 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 01:26 AM Share Posted October 8, 2017 Hello everyone, I'm trying to create a script for an item, but I came across a pretty newbie question, how to create the script for an item limited to a certain level of refinement? For example: At each refine from +11 to +15: Fixed casting -0.1s. Can anyone help me with this? I thank you. Quote Link to comment Share on other sites More sharing options...
0 Secrets Posted October 9, 2017 Group: Developer Topic Count: 36 Topics Per Day: 0.01 Content Count: 588 Reputation: 438 Joined: 01/26/16 Last Seen: May 2 Share Posted October 9, 2017 .@r = getrefine()-11; if(.@r >= 0) bonus bFixedCast,min(.@r * 100, 500); 1 Quote Link to comment Share on other sites More sharing options...
0 Kakaroto Posted October 9, 2017 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 01:26 AM Author Share Posted October 9, 2017 18 hours ago, Secrets said: .@r = getrefine()-11; if(.@r >= 0) bonus bFixedCast,min(.@r * 100, 500); Does this bonus only work if the item is refined above +11? Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted October 10, 2017 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 8 hours ago Share Posted October 10, 2017 (edited) as i see yes .@r is the refine -11 so when the refine 11 .@r will be 0 so at 11 is (0*100,500) = no bonus at 12 (1*100,500) = 100 13 (2*100,500) = 200 etc the [min] mean that it will take the minimum number so the last will be 16 16 (5*100,500) = 500 now 17 (6*100,500) = also 500 cuz 600 > 500 Edited October 10, 2017 by sader1992 1 Quote Link to comment Share on other sites More sharing options...
0 Kakaroto Posted October 26, 2017 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 01:26 AM Author Share Posted October 26, 2017 On 10/10/2017 at 7:49 AM, sader1992 said: as i see yes .@r is the refine -11 so when the refine 11 .@r will be 0 so at 11 is (0*100,500) = no bonus at 12 (1*100,500) = 100 13 (2*100,500) = 200 etc the [min] mean that it will take the minimum number so the last will be 16 16 (5*100,500) = 500 now 17 (6*100,500) = also 500 cuz 600 > 500 But to remove the fixed cast, it should not be? bonus bFixedCast,-min 1 Quote Link to comment Share on other sites More sharing options...
0 sader1992 Posted October 26, 2017 Group: Content Moderator Topic Count: 55 Topics Per Day: 0.01 Content Count: 1691 Reputation: 716 Joined: 12/21/14 Last Seen: 8 hours ago Share Posted October 26, 2017 (edited) 2 hours ago, Kakaroto said: But to remove the fixed cast, it should not be? bonus bFixedCast,-min well i didn't really notice that , and that's true i did look up for similar script and i found this item Foxtail [0] [Lower Head] Item ID# 18536 (Foxtail) MATK +10. Reduces fixed cast time by 0.1 seconds. { bonus bMatk,10; bonus bFixedCast,-100; },{},{} Edited October 26, 2017 by sader1992 Quote Link to comment Share on other sites More sharing options...
Question
Kakaroto
Hello everyone, I'm trying to create a script for an item, but I came across a pretty newbie question, how to create the script for an item limited to a certain level of refinement?
For example:
At each refine from +11 to +15:
Fixed casting -0.1s.
Can anyone help me with this? I thank you.
Link to comment
Share on other sites
5 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.