ForbodingAngel

Untitled

Feb 9th, 2015
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. local weapon1Damage = 150
  2. local weapon1AOE = 1
  3. local energycosttofire = weapon1Damage / 20 * ((weapon1AOE / 1000) + 1)
  4.  
  5. local function roundToFirstDecimal(energycosttofire)
  6. return math.floor(energycosttofire*10 + 0.5)*0.1
  7. end
Advertisement
Add Comment
Please, Sign In to add comment