Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using RBot;
- public class Script {
- public void ScriptMain(ScriptInterface bot){
- bot.Skills.Add(1, 1f);
- bot.Skills.Add(2, 1f);
- bot.Skills.Add(3, 1f);
- bot.Skills.Add(4, 1f);
- bot.Skills.StartTimer();
- bot.Options.ExitCombatBeforeQuest = true;
- bot.Options.SafeRelogin = true;
- bot.Options.SafeTimings = true;
- bot.Options.DisableFX = true;
- bot.Options.LagKiller = true;
- bot.Options.PrivateRooms = true;
- bot.Options.InfiniteRange = true;
- //Daily
- bot.Quests.EnsureAccept(491);
- if (!bot.Quests.IsDailyComplete(491)) DailyEvil(bot);
- // Rank 1 - Rank 3: 364, Rank 4 - Rank 10: 367
- int q = 367;
- DoEvil(bot, q);
- }
- public void DailyEvil (ScriptInterface bot) {
- if (bot.Map.Name != "citadel")
- bot.Player.Join("citadel", "Enter", "Spawn");
- if (bot.Player.Cell != "Enter")
- bot.Player.Jump("Enter", "Spawn");
- if (!bot.Quests.CanComplete(491)) {
- bot.Player.HuntForItem("Inquisitor Guard", "Inquisitor Contract", 7, true, true);
- }
- if (bot.Quests.CanComplete(491)) bot.Quests.EnsureComplete(491);
- }
- public void DoEvil (ScriptInterface bot, int q) {
- if (q==367) {
- if (bot.Map.Name != "castleundead")
- bot.Player.Join("castleundead-1e99", "Enter", "Spawn");
- else
- bot.Player.Jump("Enter", "Spawn");
- } else if (q==364) {
- if (bot.Map.Name != "swordhavenbridge")
- bot.Player.Join("swordhavenbridge-1e99", "Enter", "Spawn");
- else
- bot.Player.Jump("Enter", "Spawn");
- }
- while (!bot.ShouldExit()) {
- if (!bot.Quests.IsInProgress(q)) bot.Quests.EnsureAccept(q);
- while (!bot.Quests.CanComplete(q)) {
- if (q==367) {
- bot.Player.HuntForItem("Skeletal Warrior|Skeletal Viking", "Replacement Tibia", 6, true, true);
- bot.Player.HuntForItem("Skeletal Warrior|Skeletal Viking", "Phalanges", 3, true, true);
- } else if (q==364)
- bot.Player.HuntForItem("Slime|Purple Slime", "Youthanize", 1, true, true);
- }
- if (bot.Quests.CanComplete(q)) bot.Quests.EnsureComplete(q);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement