Jump to content
  • 0

What am i doing wrong with this item combo script? script inside


marcelito

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   2
  • Joined:  07/23/16
  • Last Seen:  

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 marcelito
  • Upvote 1
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

You need to use getrefinerycnt() not getrefine as getrefine doesn't have an item to getrefine of.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   2
  • Joined:  07/23/16
  • Last Seen:  

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)

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Yoy should change .@r

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   2
  • Joined:  07/23/16
  • Last Seen:  

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

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