Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. #region TowerofMystery
  2. if (Name.Contains("GreatPheasant") || Name.Contains("WingedLord") || Name.Contains("WaterTerror") || Name.Contains("RuthlessAsura") || Name.Contains("FlameGiant") || Name.Contains("SoulStrangler") || Name.Contains("DarkGlutton") || Name.Contains("AlienDragon") || Name.Contains("ShadowSpider"))
  3. {
  4. if (killer.Owner.Quests.GetQuest(QuestID.TowerOfMystery) == null || killer.Owner.Quests.CheckQuest(QuestID.TowerOfMystery) == MsgTaskStatus.QuestData.QuestStatus.Available)
  5. killer.Owner.Quests.Accept(QuestID.TowerOfMystery);
  6. killer.Owner.Quests.DoneTowerMystery();
  7. killer.Owner.MessageBox("You`ve successfully defeated the devil on Tower of Mystery " + killer.TOM + "F. Hurry and go claim the Bright Tribe`s reward for you.");
  8. _String str = new _String(true);
  9. str.TextsCount = 1;
  10. str.UID = killer.UID;
  11. str.Type = 10;
  12. str.Texts.Add("zf2-281");
  13. killer.Owner.SendScreen(str, true);
  14. Interfaces.INpc npc = new Network.GamePackets.NpcSpawn();
  15. npc.UID = 200028;
  16. npc.Mesh = 40150;
  17. npc.Name = "BrightTribe`s";
  18. npc.Type = (Game.Enums.NpcType)2;
  19. npc.X = 66;
  20. npc.Y = 66;
  21. npc.MapID = killer.MapID;
  22. killer.TOMM.AddNpc(npc);
  23. foreach (var client in Kernel.GamePool.Values)
  24. {
  25. if (client.Entity.MapID != killer.MapID) continue;
  26. client.Screen.Reload(null);
  27. }
  28. _String str2 = new _String(true);
  29. str2.TextsCount = 1;
  30. str2.X = npc.X;
  31. str2.Y = npc.Y;
  32. str2.Type = 9;
  33. str2.Texts.Add("zf2-280");
  34. killer.Owner.SendScreen(str2, true);
  35. }
  36. #endregion
  37. __________
  38. in class NPC
  39. if (client.ActiveNpc == 56550)
  40. {
  41. monster.Hitpoints = 5000000;
  42. monster.Level = 123;
  43. monster.ID = 7976;
  44. monster.Mesh = 906;
  45. monster.Name = "GreatPheasant(Nor.)";
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement