Jump to content
  • 0

Change stat of an headgear


naser080291

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  08/09/13
  • Last Seen:  

Hi guys can some one tell me how can i change or put some stat on a head gear.. do i need to change the stat at item_db2 or item_db ?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Give +3 strength when this hat is equipped

2221,Hat_,Hat,5,1000,,200,,2,,1,0xFFFFFFFF,63,2,256,,0,1,16,{ bonus bStr, 3; },{},{}

You can find all item bonus for your scripts here trunk/doc/item_bonus.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  08/09/13
  • Last Seen:  

what if i try to add str and dex can you tell me how to do it

is it like this?

 

2221,Hat_,Hat,5,1000,,200,,2,,1,0xFFFFFFFF,63,2,256,,0,1,16,{ bonus bStr, 3; },{bonus bDex,3;},{}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Seperated by a semicolon you can have multiple item bonuses

2221,Hat_,Hat,5,1000,,200,,2,,1,0xFFFFFFFF,63,2,256,,0,1,16,{ bonus bStr, 3; bonus bDex, 3; },{},{}

Table structure : 

// ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Class,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  08/09/13
  • Last Seen:  

thx a lot dude ur the best

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