Item bonus need explanation

Critica

New member
Messages
76
Points
0
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...

 
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

 
Back
Top