Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void BandageSelf(Item Bandage)
- {
- Bandage.Use();
- Stealth.Default.WaitTargetSelf();
- Console.WriteLine("Bandaging self...");
- Stealth.Default.WaitJournalLine(DateTime.Now, "You finish applying the bandages|You apply the bandages, but they barely help|You heal what little damage your patient had|You did not stay close enough to heal your patient|That is too far away", 15000);
- }
- static void Main(string[] args)
- {
- List<Item> Bandages = Find.FindItems(3617, Self.Backpack.ID);
- if (Bandages.Count == 0)
- {
- Console.WriteLine("No bandages found.");
- Environment.Exit(0);
- }
- Item Bandage = Bandages[0];
- while (Profile.IsConnected)
- if (Self.HP < Self.MaxHP)
- BandageSelf(Bandage);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement