Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Setting up UO with Injection
#3

Know your Opponents Hits with Injection: by Lestat

Use this script in PVP to chose if you will FS or not after a very good hit.

When you have just half a second to decide if you FS or not, this is very helpful.

Just keep the script running, and it will detect when you hit and write you the opponent's APPROXIMATIVE % of hp's at the bottom left of the screen, which is the remaining AFTER your hit. Remember that it can be about 4% innacurate due to the way the UO client manages hit points.

Code:
sub HPenemy()
    UO.set('finddistance',3)
    UO.DeleteJournal()
    var i=0
    var t
    WHILE i<=4
        if uo.injournal("You hit") || uo.injournal("You score") || uo.injournal("You knock") || uo.injournal("You land") || uo.injournal("You smash") then
            UO.DeleteJournal()
            t = uo.GetHp('lasttarget')
            uo.print("EnemyHP%: " + str(t*4))
        end if
        wait(500)
    WEND
end sub



Messages In This Thread
Setting up UO with Injection - by Eru - 05-30-2011, 08:12 PM
Setting up UO with Injection - by Eru - 05-30-2011, 08:15 PM
Setting up UO with Injection - by Eru - 05-30-2011, 08:18 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)