Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def fighter_threshold(max_end, dam, hit):
- bonus = math.log10(max_end * max_end)
- threshold = max_end * (100 - bonus) // 100
- new_dam = dam * 1.15
- new_hit = hit * 1.15
- umc.capture('You entered: %s Bonus within: %s' % (str(max_end), str(threshold)))
- 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