Added function to ensure fire power is integer