intangibles

Untitled

Mar 10th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. uac_line_checks = <<-eos
  2. while line = get
  3. break unless running?($current_script_name)
  4. if line =~ /^You have (decent|good|excellent) positioning/
  5. $position = $1
  6. ($uac = 'kick'; $aim_location = nil) if $position == 'excellent' and $aim_location != ""
  7. $uac = 'punch' if $position == 'good'
  8. end
  9. $uac = $1 if line =~ /^ Strike leaves foe vulnerable to a followup (.*) attack/
  10. $pause_combat = true if line =~ /#{$pause_lines}/
  11. $pause_combat = false if line =~ /#{$unpause_lines}/
  12. $aim_location = "" if line =~ /^The .+ does not have a chest|^You cannot aim that/
  13. $new_vaesp = true if line =~ /^A vaespilon drags/
  14. end
  15. eos
  16.  
  17. ExecScript.start(uac_line_checks, :quiet => true)
Add Comment
Please, Sign In to add comment