Jump to content
  • 0

item bonus, about weight


Critica

Question


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

hi there, can anyone show me an item bonus that increase dmg, or stats depends on how heavy the eqquipment is?

TY!! :)

Edited by critica
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

there is no command that can direct set some bonus depend on your item weight currently..

anyway....there is still a way to do this...

use this command to check for the item you have equipped for the weight of the item

*getiteminfo( <item ID>,6 )

and of course the itemID must be the equipped part...which you can retrieve the itemID by using this

*getequipid(<equipment slot>)

Sample :

if( getiteminfo( getequipid(1),6 ) > 100 ){ <script content here> };

it should be like this...

if a Top Headgear weight is more than 100 then the specific script will be able to run...

anyway..there is alot way to script for those stuff..

like..every X weight increase damage by Y%..

just required some calculation..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   4
  • Joined:  02/23/12
  • Last Seen:  

Oh tnx!! i guess that would work!!

thanks again! cheers!! :)

ok 2 question...

where can i get the table of getequipedid's?

is the 6 the ID number of the item?

Edited by critica
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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