I was trying to make my slave monster to not attack and make skills. It should just follow me. Any help on my existing script? Thanks guys for the help.
@monster = monster(strnpcinfo(NPC_MAP), 0, 0, "Happy "+getmonsterinfo( getd("."+getarg(0)+""),MOB_NAME), getd("."+getarg(0)+""), 1);
[email protected] = getcharid(CHAR_ID_ACCOUNT);
setunitdata(@monster, UDT_MASTERAID, [email protected]);
setunitdata(@monster, UDT_MODE,getunitdata(@monster,UDT_MODE) &~ (128|8|4|2) );
for this item disabled drop, trade etc. you can remove this attributes in item_db.conf for item 22508.
or if you want do this only some times, you can write script for delete item from player inventory see command delitem