marcelito Posted July 23, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 2 Joined: 07/23/16 Last Seen: September 24, 2016 Share Posted July 23, 2016 (edited) 20725:2189,{ .@r = getrefine (); autobonus "{ bonus2 bHPLossRate,30,1000; bonus bMatk,5*(.@r/3); }",100,10000,BF_MAGIC,"{ transform 1930,10000; specialeffect2 EF_FIRESPLASHHIT; }"; } This is for the Piamette ribbon/mad bunny combo, and it's supposed to increase your MATK by 5 per 3 refine level. Everything works, except the Matk part. Can someone shed me a light into this? Thanks! Edited July 23, 2016 by marcelito 1 Quote Link to comment Share on other sites More sharing options...
0 Stolao Posted July 23, 2016 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 2 hours ago Share Posted July 23, 2016 You need to use getrefinerycnt() not getrefine as getrefine doesn't have an item to getrefine of. Quote Link to comment Share on other sites More sharing options...
0 marcelito Posted July 23, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 2 Joined: 07/23/16 Last Seen: September 24, 2016 Author Share Posted July 23, 2016 You need to use getrefinerycnt() not getrefine as getrefine doesn't have an item to getrefine of. So like this? bonus bMatk,5*(getequiprefinerycnt(EQI_HAND_R)/3) or should i just change .@r = getrefine to .@r = getequiprefinerycnt(EQI_HAND_R) Quote Link to comment Share on other sites More sharing options...
0 Stolao Posted July 23, 2016 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: 2 hours ago Share Posted July 23, 2016 Yoy should change .@r 1 Quote Link to comment Share on other sites More sharing options...
0 marcelito Posted July 24, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 2 Joined: 07/23/16 Last Seen: September 24, 2016 Author Share Posted July 24, 2016 It's working now, thanks for the help! This is the working script if anyone's interested 20725:2189,{ autobonus "{ bonus bMatk,5*getequiprefinerycnt(EQI_HAND_L)/3; bonus2 bHPLossRate,30,1000; }",100,10000,BF_MAGIC,"{ transform 1930,10000; specialeffect2 EF_FIRESPLASHHIT; }"; } i couldn't make it work with .@r Quote Link to comment Share on other sites More sharing options...
Question
marcelito
20725:2189,{ .@r = getrefine (); autobonus "{ bonus2 bHPLossRate,30,1000; bonus bMatk,5*(.@r/3); }",100,10000,BF_MAGIC,"{ transform 1930,10000; specialeffect2 EF_FIRESPLASHHIT; }"; }
This is for the Piamette ribbon/mad bunny combo, and it's supposed to increase your MATK by 5 per 3 refine level. Everything works, except the Matk part. Can someone shed me a light into this? Thanks!
Edited by marcelitoLink to comment
Share on other sites
4 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.