Code:
#region JainHU
case 15745:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Well, the Jiang Hu is quite chaotic. I`ll test your understanding with several questions. If you pass, you`re able to name a skill of your own and start your adventure as a Jiang Hu warrior");
dialog.Option("Okay.I`m ready", 1);
dialog.Option("Just Passing By.", 255);
dialog.Send();
break;
}
case 1:
{
if (!client.Entity.KunFuClasses.MainGui.ContainsKey(client.Entity.UID))
{
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.JiangHu, dwParam = 617, wParam1 = client.Entity.X, wParam2 = client.Entity.Y });
// client.Entity.KunFuClasses.MainGui.Add(client.Entity.UID,);
}
else
{
dialog.Text("you are already a Jiang Hu warrior");
// dialog.Link("Okay.I`m ready", 1);
dialog.Option("Thank You.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion






