الانبسي npc
علي بركة الله نبدأjdl jids تيم تهيس
#region Vip Returned pack case 5007: { switch (npcRequest.OptionID) { case 0: { if (client.Entity.VIPLevel == 5 || client.Entity.VIPLevel == 6 || client.Entity.VIPLevel == 7) { dialog.Text("Hello [ " + client.Entity.Name + " ] you are vip [" + client.Entity.VIPLevel + "] i can give you reward once wanna Test your lucky ?"); dialog.Option("Claim Prize", 2); dialog.Avatar(28); dialog.Send(); } else { dialog.Text("Hello [ " + client.Entity.Name + " ] Sorry your vip is [" + client.Entity.VIPLevel + "] you must be 4 or higher"); dialog.Option("oky", 255); dialog.Avatar(28); dialog.Send(); } break; } case 2: { if (client.Entity.VIPLevel == 5 && client.Entity.returnedpack == 0) { client.Entity.returnedpack += 1; switch (((byte)Kernel.Random.Next(1, 6))) { case 1: client.Entity.ConquerPoints += 100000; break; case 2: client.Inventory.Add(193535, 0, 1); break; case 3: client.Inventory.Add(1088000, 0, 1); break; case 4: client.Inventory.Add(193445, 0, 1); break; case 5: client.ChiPoints += 2000; break; case 6: client.Entity.InnerPower.Potency += 200000; break; } } else if (client.Entity.VIPLevel == 6 && client.Entity.returnedpack == 0) { client.Entity.returnedpack += 1; switch (((byte)Kernel.Random.Next(1, 6))) { case 1: client.Entity.ConquerPoints += 400000; break; case 2: client.Inventory.Add(193535, 0, 1); break; case 3: client.Inventory.Add(350089, 0, 1); break; case 4: client.Inventory.Add(193445, 0, 1); break; case 5: client.ChiPoints += 4000000; break; case 6: client.Entity.InnerPower.Potency += 400000; break; } } else if (client.Entity.VIPLevel == 7 && client.Entity.returnedpack == 0) { client.Entity.returnedpack += 1; switch (((byte)Kernel.Random.Next(1, 6))) { case 1: client.Entity.ConquerPoints += 700000; break; case 2: client.Inventory.Add(193535, 0, 1); break; case 3: client.Inventory.Add(1088000, 0, 1); break; case 4: client.Inventory.Add(700013, 0, 1); break; case 5: client.ChiPoints += 1000000; break; case 6: client.Entity.InnerPower.Potency += 500000; break; } } else if (client.Entity.returnedpack == 1) { dialog.Text("You Already Reseved your prize"); dialog.Option("It's my Fault", 255); dialog.Send(); } break; } } break; } #endregion