Hey
I'm making a custom quest but when it comes to the part to get the reward, it don't show and it don't give me the reward.
Please tell me how to fix this code or what's wrong with it.
I'm making a custom quest but when it comes to the part to get the reward, it don't show and it don't give me the reward.
Please tell me how to fix this code or what's wrong with it.
Code:
#region Killer
case 67436:
{
if (Control == 0)
{
if (GC.MyChar.InventoryContains(710854, 1))
{
GC.AddSend(Packets.NPCSay("Hello. A letter huh. Well, I accidently killed ghost a while back. Tell him his apology is accepted."));
GC.AddSend(Packets.NPCLink("Sure Thing", 1));
GC.AddSend(Packets.NPCLink("No", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 1)
{
GC.MyChar.CPs += 10000000;
GC.AddSend(Packets.NPCSay("Here is your reward.!"));
GC.AddSend(Packets.NPCLink("Thank you", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
}
break;
#endregion