[Request]Add Bound item

05/12/2010 22:22 dodolinobobo#1
I need the code for a npc that give bound items...it would be like GC.MyChar.AddItem(723753);
but what is the right code to give the items (bound)?

I will press thanks for anybody helps me
05/12/2010 23:20 Arcо#2
It.FreeItem = true;
Code:
Item It = new Item();
                            It.ID = 300000;
                            It.MaxDur = It.DBInfo.Durability;
                            It.CurDur = It.MaxDur;
                            It.Plus = 1;
                            It.UID = (uint)Program.Rnd.Next(int.MaxValue);
                            I.FreeItem = true;
                            RemoveItem(I);
                            AddItem(It);
05/12/2010 23:53 gerble93#3
Using what Arco had I would create the method AddItem(uint ItemID, bool Free)

.. This would be faster and much easier :)
05/13/2010 07:25 dodolinobobo#4
thanks for your help