SHARE
TWEET

Untitled

a guest May 27th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from datetime import datetime
  2.  
  3. from py_stealth import *
  4.  
  5. def meditate():
  6.     while Mana() < MaxMana():
  7.         starttime = datetime.now()
  8.         UseSkill('Meditation')
  9.         WaitJournalLine(starttime, "You cannot |You enter ", 60000)
  10.         if InJournalBetweenTimes("You enter", starttime, datetime.now()) > 0:
  11.             WaitJournalLine(starttime, "You stop |You cannot |You are at ", 60000)
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. def main():
  19.     while GetSkillCurrentValue('Magery') < 100.0:
  20.         meditate()
  21.  
  22.  
  23. if __name__ == '__main__':
  24.     while True:
  25.         print(GetHP(0x00004240))
  26.         if GetHP(0x00004240) > 4:
  27.             if Mana() > 10:
  28.                 starttime = datetime.now()
  29.                 Cast('Magic Arrow')
  30.                 Wait(100)
  31.                 if not ((InJournalBetweenTimes("More reagents are needed ", starttime, datetime.now())) > 0):
  32.                     WaitForTarget(500)
  33.                     if TargetPresent():
  34.                         TargetToObject(0x00004240)
  35.                         Wait(800)
  36.             else:
  37.                 meditate()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top