Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region SaintTaliyi
- case 100005:
- {
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- dialog.Text("Saint Taliyi: ");
- dialog.Text("Do you know the'Relics'? They are rare attrubute items crafted by the ancient");
- dialog.Text("deities. Fortunately, i've acquired this crafting skill. If you have some Relic");
- dialog.Text("Crystals, I can help you make a Relic providing more than 3 kinds of");
- dialog.Text("attributes.");
- dialog.Text("By the way,I can give 1 Relic Spirit for every 50,000 Silver.");
- dialog.Option("Craft a Relic Spirit. (50,000 Silver)", 1);
- dialog.Option("Craft a Relic. (100 Relic Crystals)", 2);
- dialog.Option("How to obtain the Relics?",3);
- break;
- }
- case 1:
- {
- if (client.Entity.Money > 50000)
- {
- client.Entity.Money -= 50000;
- client.Inventory.Add(3307142, 0, 1);
- _String str = new _String(true);
- str.UID = client.Entity.UID;
- str.TextsCount = 1;
- str.Action = _String.Effect;
- str.Texts.Add("end_task");
- client.SendScreen(str, true);
- }
- else
- {
- client.Send("you don't have enough Silver");
- }
- break;
- }
- case 2:
- {
- if (client.Inventory.Contains(3306885, 100))
- {
- dialog.Text("\t*Crafting the Relics*\t");
- dialog.Text("___________________________________________________________________");
- dialog.Text("Required Materials: 100 Relic Crystal");
- dialog.Text("Expect to Get 1 Relic providing 3 kinds of attributes or more");
- dialog.Text("___________________________________________________________________");
- dialog.Option("Craft now.", 6);
- dialog.Option("I~haven't decided yet.", 255);
- }
- else
- {
- dialog.Text("it seems you don't have enough Relic Crystal to craft a Relic");
- dialog.Text("You can collect Relic Crystals by decomposing spare Relics. Hunting");
- dialog.Text("monsters in the wild also gives a chance");
- dialog.Option("I~see", 255);
- }
- break;
- }
- case 6:
- {
- client.Inventory.Remove(3306885, 100);
- //حط هنا الريلك بقا كلو وسيبو يعمل رندوم هو وحظو
- break;
- }
- case 3:
- {
- dialog.Text("\t*How to Obtain Relics?*\t");
- dialog.Text("___________________________________________________________________");
- dialog.Text("1. The common devils in the Deityland may carry such a Relic.");
- dialog.Text("2. Killing the Beast/BOSS will definitely bring you such Relic.");
- dialog.Text("3. Each Relic can be decomposed into several Relic Crystals according to");
- dialog.Text("their attached attributes. The Relic can be used to craft or repair");
- dialog.Text("Relics.\n4. When defeated, a hero 's equipped Relic may be dropped.");
- dialog.Text("___________________________________________________________________");
- dialog.Option("Attributes of Relics.", 4);
- dialog.Option("Durability of Relics.", 5);
- break;
- }
- case 4:
- {
- Data data = new Data();
- data.ID = Data.OpenWindow;
- data.UID = client.Entity.UID;
- data.TimeStamp = Time32.Now;
- //data.dwParam = معرفش ال اي دي بتاع صفحه الويب الي ف اللعبه;
- data.wParam1 = client.Entity.X;
- data.wParam2 = client.Entity.Y;
- client.Send(data);
- break;
- }
- case 5:
- {
- dialog.Text("\t*How to Obtain Relics?*\t");
- dialog.Text("___________________________________________________________________");
- dialog.Text("1. The durability of your equipped Relic will decrease if you were killed.");
- dialog.Text("2. When your Relic is broken, you can use Relic Crystal to repair it within 45");
- dialog.Text("hours\n3. Death will not leadto drop or durability loss of Relics during Guild War,");
- dialog.Text("Clan War, Plunder War, or Arena.");
- dialog.Text("___________________________________________________________________");
- dialog.Option("I~see",255);
- break;
- }
- }
- }
- break;
- #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement