Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region TowerofMystery
- 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"))
- {
- if (killer.Owner.Quests.GetQuest(QuestID.TowerOfMystery) == null || killer.Owner.Quests.CheckQuest(QuestID.TowerOfMystery) == MsgTaskStatus.QuestData.QuestStatus.Available)
- killer.Owner.Quests.Accept(QuestID.TowerOfMystery);
- killer.Owner.Quests.DoneTowerMystery();
- 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.");
- _String str = new _String(true);
- str.TextsCount = 1;
- str.UID = killer.UID;
- str.Type = 10;
- str.Texts.Add("zf2-281");
- killer.Owner.SendScreen(str, true);
- Interfaces.INpc npc = new Network.GamePackets.NpcSpawn();
- npc.UID = 200028;
- npc.Mesh = 40150;
- npc.Name = "BrightTribe`s";
- npc.Type = (Game.Enums.NpcType)2;
- npc.X = 66;
- npc.Y = 66;
- npc.MapID = killer.MapID;
- killer.TOMM.AddNpc(npc);
- foreach (var client in Kernel.GamePool.Values)
- {
- if (client.Entity.MapID != killer.MapID) continue;
- client.Screen.Reload(null);
- }
- _String str2 = new _String(true);
- str2.TextsCount = 1;
- str2.X = npc.X;
- str2.Y = npc.Y;
- str2.Type = 9;
- str2.Texts.Add("zf2-280");
- killer.Owner.SendScreen(str2, true);
- }
- #endregion
- __________
- in class NPC
- if (client.ActiveNpc == 56550)
- {
- monster.Hitpoints = 5000000;
- monster.Level = 123;
- monster.ID = 7976;
- monster.Mesh = 906;
- monster.Name = "GreatPheasant(Nor.)";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement