Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Trigger - Perl Regex: ^You glance over (\w+) and see that (his|her) health is at (\d+)\/(\d+)\.$
- local targethp = tonumber(matches[5])
- local limbhp = (250+targethp) * 0.24
- local wepbase = (10+targethp) * 0.005
- local wep1dam = 0 <-| Change these two
- local wep2dam = 0 <-| To your own weapon damages
- local weptotal = ((wep1+wep2)/2)+wepbase
- hitstobreak = math.floor(limbhp/weptotal)+1
- report("I estimate "..hitstobreak.." hits to break.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement