I just want a hint or nudge as to were to look to find a way to make this possible.
############################################
Make npc Then teach it to speak
Code:
if (CurrentNPC == 9000)
{
SendPacket(General.MyPackets.NPCSay("Hello, would you like to restart your stats for the price of a dragonball?"));
SendPacket(General.MyPackets.NPCLink("Yes please", 1));
SendPacket(General.MyPackets.NPCLink("No thanks,not yet.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
Code:
if (CurrentNPC == 9000)
{
if (Control == 1)
if (MyChar.InventoryContains(dbcode, 1))
{
if (MyChar.RBCount > 1)
{
MyChar.RemoveItem(MyChar.ItemNext(dbcode));
}
MyClient.SendPacket(General.MyPackets.Vital((long)UID, 135, Level));
MyClient.SendPacket(General.MyPackets.Vital((long)UID, 0, Str));
MyClient.SendPacket(General.MyPackets.Vital((long)UID, 0, Agi));
MyClient.SendPacket(General.MyPackets.Vital((long)UID, 0, Vit));
MyClient.SendPacket(General.MyPackets.Vital((long)UID, 0, Spi));
MyClient.SendPacket(General.MyPackets.Vital((long)UID, 1, CurHP));
}
}






