Jump to content
  • 0

weapon script db


cadz

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

hi how to fix this for example my hat added description if you wear +9 weapon aspd +1?

      .@r = getrefine();
      if (.@r>=9) {
         bonus bAspd,1;
        }

 

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   58
  • Joined:  07/11/14
  • Last Seen:  

26 minutes ago, cadz said:

hi how to fix this for example my hat added description if you wear +9 weapon aspd +1?

      .@r = getrefine();
      if (.@r>=9) {
         bonus bAspd,1;
        }

 

 

is it correct but not having an effect? Have you tried to increase the quantity?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

38 minutes ago, Hyroshima said:

is it correct but not having an effect? Have you tried to increase the quantity?

the script is from a headgear if he equip + 9 weapon it will trigger +1aspd but its not when i refine the headgear to + 9 it trigger the aspd, the weapon should do the trigger of aspd not the headgear.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   58
  • Joined:  07/11/14
  • Last Seen:  

instead of using getrefine() you should use getequiprefinerycnt(EQI_HAND_R)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

6 minutes ago, Hyroshima said:

instead of using getrefine() you should use getequiprefinerycnt(EQI_HAND_R)

thank you so much! can you send me those script guides in db so i can learn more.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   58
  • Joined:  07/11/14
  • Last Seen:  

inside the doc folder there is a script_commands file, there you can use almost everything for item_db (a good part you can)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

40 minutes ago, Hyroshima said:

inside the doc folder there is a script_commands file, there you can use almost everything for item_db (a good part you can)

thank you so much

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