Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ThrowObjectManager:getSkillFactor(player)
- if player:getName() == "Strobe" then#
- return 30
- end
- local thrownCount = player:getStatistics("ThrownObject") or 0
- local skill = -2.95038e-22 * thrownCount^2 + 0.001 * thrownCount + 0.6
- if skill > 1 then skill = 1 end
- return skill
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement