Jump to content
  • 0
Critica

item bonus, about weight

Question

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

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

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

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.