Jump to content
  • 0
Sign in to follow this  
Critica

Item bonus need explanation

Question

This item bonus if from Necro card...

i know what it does but could somebody explain more details for me pls?

if(getiteminfo(getequipid(EQI_HAND_R),11)==10) 

i just need to know what does "11" and ==10 means

or this (drosera card)

f(getiteminfo(getequipid(EQI_HAND_R),9)>3) 

 i wana know what these number represents...

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

if(getiteminfo(getequipid(EQI_HAND_R),11)==10)

 

Check getiteminfo() desc.

This function will look up the item with the specified ID number in the database and return the info set by TYPE argument.It will return -1 if there is no such item.Valid types are:	0 - Buy Price; 1 - Sell Price; 2 - Item Type;	3 - maxchance (Max drop chance of this item e.g. 1 = 0.01% , etc..		if = 0, then monsters don't drop it at all (rare or a quest item)		if = 10000, then this item is sold in NPC shops only	4 - sex; 5 - equip; 6 - weight; 7 - atk; 8 - def; 9 - range;	10 - slot; 11 - look; 12 - elv; 13 - wlv; 14 - view id		If RENEWAL is defined, 15 - matkCheck sample in doc/sample/getiteminfo.txt

11 = Look, getequipid(EQI_HAND_R) = Item_ID of the equip equipped on right hand.

 

 

((getiteminfo(getequipid(EQI_HAND_R),9) >3) = If range of equip on right hand is >3

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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