06-30-2011, 07:27 PM
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