Adding drop cps from mobs

08/11/2009 00:40 dudusek#1
Hello anyone can tell me how to do this?
08/11/2009 01:01 AndreaCo#2
which source?
08/11/2009 03:14 TasteofChaos#3
probably ....lotf ha
08/11/2009 03:52 Incariuz#4
You want to select an item, whether newly created, or already ingame, simply not used, then provide it with a right click function to make it give cp. LOTF basic structure.

Code:
            }
            else if (ItemParts[0] == "ItemID")
            {
                CPs += 1;
                MyClient.SendPacket(General.MyPackets.Vital(UID, 30, CPs));
                RemoveItem(ItemUID);
            }
Of course you'll need to replace the ItemID with the ID you want, and you can increase the amount of CP it gives.