Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2014
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. def fighter_threshold(max_end, dam, hit):
  2. bonus = math.log10(max_end * max_end)
  3. threshold = max_end * (100 - bonus) // 100
  4. new_dam = dam * 1.15
  5. new_hit = hit * 1.15
  6. umc.capture('You entered: %s Bonus within: %s' % (str(max_end), str(threshold)))
  7. umc.capture('Your +dam is: %s Your +hit is: %s' % (str(new_dam), str(new_hit)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement