But i need that my NPC recognize the item type (i will use equipments). It should define if the equipmnent is a SWORD, KNIFE, ROD, etc. . .
I found the script on the Necromancer_Card:
if (getiteminfo(getequipid(EQI_HAND_R),11)==10){ bonus bInt,1; bonus bIgnoreMdefRate,2; }
But i really don't understand it. I may assume that the 10(...==10){...), is the reference to the ROD, but i don't know the reference for the others, like knife, sword, axe, etc...
Question
MojoMojo
For a NPC read some item info, we can use:
But i need that my NPC recognize the item type (i will use equipments). It should define if the equipmnent is a SWORD, KNIFE, ROD, etc. . .
I found the script on the Necromancer_Card:
But i really don't understand it. I may assume that the 10(...==10){...), is the reference to the ROD, but i don't know the reference for the others, like knife, sword, axe, etc...
GIMME A LIGHT!
Edited by MojoMojoLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.