Then, search for 7500 again,where you find the code for the exchance,and replace it with this:
First,search for 7500 ( NPC ID ) until you find the npc chat. Replace it with this :
Quote:
if (CurrentNPC == 7500)
{
SendPacket(General.MyPackets.NPCSay("Got many dragon balls you want to get rid of? Well i can give you 215 cps for each dragon ball you give me."));
SendPacket(General.MyPackets.NPCLink("Yes, i want CPs for my dragon ball!", 1));
SendPacket(General.MyPackets.NPCLink("Yes, I want 2560 CPs for my DBScroll", 2));
SendPacket(General.MyPackets.NPCLink("I don't have a dragon ball.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
|
Quote:
if (CurrentNPC == 7500)
{
if (Control == 1)
{
if (MyChar.InventoryContains(1088000, 1))
{
MyChar.RemoveItem(MyChar.ItemNext(1088000));
MyChar.CPs += 256;
SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
}
}
if (Control == 2)
{
if (MyChar.InventoryContains(720028, 1))
{
MyChar.RemoveItem(MyChar.ItemNext(720028));
MyChar.CPs += 2560;
SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
}
}
}
|
Not tested,goodluck.