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...
GIMME A LIGHT!
Using:
getiteminfo(<item ID>,<type>)
I can define if the equipment is a weapon or armor.
Question
MojoMojo
I did this question for weapons equipment:
Using:
I can define if the equipment is a weapon or armor.
And i can read the weapon type by:
From the doc:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
But NOW i want my NPC recognize the type of the armor: armor/manteau/shoes/headgear/accessoty1 and 2
How can i do it?
Edited by MojoMojo4 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.