Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1.  
  2. function ThrowObjectManager:getSkillFactor(player)
  3. if player:getName() == "Strobe" then#
  4. return 30
  5. end
  6. local thrownCount = player:getStatistics("ThrownObject") or 0
  7. local skill = -2.95038e-22 * thrownCount^2 + 0.001 * thrownCount + 0.6
  8. if skill > 1 then skill = 1 end
  9. return skill
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement